How do I use the find and replace function in notepad to delete multiple blank lines in a text file?
feedback
|
|
Within notepad there is no way to use the Find and Replace and target blank lines. Consider Notepad++ and the regex search and replace. You can use I believe a default install actually comes with TextFX to make your life even easier, it has an option to delete blank lines:
| |||||||
feedback
|
|
since the original notepad is a real pita (and everyone else is suggesting their own fav anyway): vim ftw with:
| |||
|
feedback
|
|
I think you can't do it in notepad; when I have such a problem, I open the text file with Word (any other word processor should go) and replace two consecutive paagraph marks with one of them. Repeat several times (until there is nothing more to replace) and you're done. You should replace with | |||
|
feedback
|
|
There is a AutoHotKey tooltip extension for the purpose. | |||
|
feedback
|
