Archive for the 'notepad++' Category

18
Oct
10

regex capture replace in notepad++


Example for replacement using captured group. Say this is the regex:
one(.*)two

and want to turn every word/phrase containing onesomethingtwo into threesomethingfour here’s how you use the group:

three\1four




Blog Stats

  • 218,505 hits