New
#1
Notepad++ using find-replace function without reg. expressions??
I'm hoping to get lucky with this post since the forums on the official Notepad++ website are very slow to respond, and maybe someone on here uses NPP and knows the answer.
Say I want to find a certain block of code that spans across multiple lines, and replace it with another block of code which spans across multiple lines as well.
From what I understand, this is possible, but you have to use regular expressions, which means taking both blocks of code, and manually editing them to replace all the line breaks with regular expressions, so that they could fit into the single line input of the find-replace function.
Needless to say this is very tedious and time consuming!!
Is there any way that I can just select and copy-paste a block of code spanning across multiple lines, then replace it with another one which I copy-pasted as well, without having to manually edit them to replace line breaks with regular expressions??
This was possible in CuteHTML which I was using before making the switch to Notepad++. I'm not sorry that I did as Notepad++ is far superior, but that is the only feature from CuteHTML that I miss, the ease with which you could find-replace large blocks of code just by copy pasting them.
Any help will be greatly appreciated!
Thanks for reading!