RegEx for upper case in first word of segment

Hello, I need to start all segments with upper case. Just the first word of each segment. Is there a regular expression one can use? Thanks in advance!

Parents
  • If anyone is still looking for this, here is a brute force workaround to at least speed up doing the job manually. First you need to position the cursor in the Find box. This script will then put in "^a" and "A" in the find and replace boxes, followed by ^b and B and so on each time you press F1.

    F1::
    ReplaceaA()
    {
    lower := ["{^}a", "{^}b", "{^}c", "{^}d", "{^}e", "{^}f", "{^}g", "{^}h", "{^}i", "{^}j", "{^}k", "{^}l", "{^}m", "{^}n", "{^}o", "{^}p", "{^}q", "{^}r", "{^}s", "{^}t", "{^}u", "{^}v", "{^}w", "{^}x", "{^}y", "{^}z"]
    upper := ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]
    static i := 1
    send % lower[i]
    sleep 150
    send {Tab}
    sleep 150
    send % upper[i]
    i++
    return

    emoji
Reply
  • If anyone is still looking for this, here is a brute force workaround to at least speed up doing the job manually. First you need to position the cursor in the Find box. This script will then put in "^a" and "A" in the find and replace boxes, followed by ^b and B and so on each time you press F1.

    F1::
    ReplaceaA()
    {
    lower := ["{^}a", "{^}b", "{^}c", "{^}d", "{^}e", "{^}f", "{^}g", "{^}h", "{^}i", "{^}j", "{^}k", "{^}l", "{^}m", "{^}n", "{^}o", "{^}p", "{^}q", "{^}r", "{^}s", "{^}t", "{^}u", "{^}v", "{^}w", "{^}x", "{^}y", "{^}z"]
    upper := ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]
    static i := 1
    send % lower[i]
    sleep 150
    send {Tab}
    sleep 150
    send % upper[i]
    i++
    return

    emoji
Children
No Data