There's a plugin to delete blank lines in Plugins/TextFX Edit.
If you want to do it with Find/Replace, have a look at http://notepad-plus.sourceforge.net/uk/newlineFindReplace-HOWTO.php, but I haven't tried any of those tips with empty lines. Searching for control+M control+M in advanced find/replace without regex works sometimes, but not always. Not sure why.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Actually, I had Selection ticked in control+R, and the selection didn't cover everything. This gets ticked automatically if anything is selected, making it appear to behave erratically if you aren't aware of that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Normally I'd search for ^\n
^ is beginning of the line, \n is the newline. But for some reason, NPP doesn't like this (can't find or replace it). No help here.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1.how can i del blank line?
2.i can search .*:0.*,but when i serach .*:0 .*\n it say can not find....
There's a plugin to delete blank lines in Plugins/TextFX Edit.
If you want to do it with Find/Replace, have a look at http://notepad-plus.sourceforge.net/uk/newlineFindReplace-HOWTO.php, but I haven't tried any of those tips with empty lines. Searching for control+M control+M in advanced find/replace without regex works sometimes, but not always. Not sure why.
Actually, I had Selection ticked in control+R, and the selection didn't cover everything. This gets ticked automatically if anything is selected, making it appear to behave erratically if you aren't aware of that.
Normally I'd search for ^\n
^ is beginning of the line, \n is the newline. But for some reason, NPP doesn't like this (can't find or replace it). No help here.