The problem is that it isn't supported in Notepad++. See http://notepad-plus.sourceforge.net/uk/newlineFindReplace-HOWTO.php for the reason and the workarounds. I find the advanced searched (control+r) without regex works best for me, using control+M to specify newlines.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I want to replace an regular expression (RegEx), with includes linebreaks.
Whats wrong with this RegEx?
,\n
See screenshot:
http://img524.imageshack.us/img524/6915/notepaddplusplusregexhs3.jpg
[IMG]http://img524.imageshack.us/img524/6915/notepaddplusplusregexhs3.jpg[/IMG]
The problem is that it isn't supported in Notepad++. See http://notepad-plus.sourceforge.net/uk/newlineFindReplace-HOWTO.php for the reason and the workarounds. I find the advanced searched (control+r) without regex works best for me, using control+M to specify newlines.
Thanks for the reply.
Its a workaround, but it would be nice, if the RegEx works correctly in Notepad++ :)