Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9351

    spiros
    Participant

    What would be the regex for this? I.e. I would like to find the word What in the 1st line, the word Where in the 2nd, etc:

    What would be the regex for this
    Where would be the regex for this

    #9355

    Yutaka Emura
    Keymaster

    Hello spiros,

    If you want to find the first and second word at a line, you can use the following regular expression:

    Find:

    ^(w+?)s+?(w+)

    1 and 2 represents the first and second word respectively. For instance, you can replace with capital letters:

    Replace with:

    U1 2

    Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Share with friends... Tweet about this on TwitterShare on FacebookShare on Google+Email this to someone