One Line (Greedy Version)
Will select all characters between first and last instance of strings :
String1.*String2
One Line (Non-greedy Version)
Will select all characters between first and next instance of strings :
String1.*?String2
Multiple Lines (Greedy Version)
String1(?s)(.*)String2
Multiple Lines (Alternative Regex)
String1[\s\S]*String2
Multiline Search Plugins
Two Notepad++ plugins that may help with multiline find and replace search are TextFX and ToolBucket:TextFX → Quick → Find/Replace
ToolBucket → Multiline find and replace
No comments:
Post a Comment