RegEx search for data between two strings
top of page

RegEx search for data between two strings

In NotePad++ you can use a simple regex search in this format to mark all text between two strings:


firststring .*? second string


In the Search menu, open the Mark tool. Be sure that you have the 'matches newline' box checked off. Using this method the second string cannot be at the beginning of a new line, and it should be a whole word.




bottom of page