Notepad++: A guide to using regular expressions and extended search mode

The information in this post will benefit anyone looking to understand how to use Notepad++ extended search mode and regular expressions. Notepad++ is an excellent text editor and replacement to Microsoft’s notepad.exe. Since the release of version 4.9, the Notepad++ Find and Replace commands have been updated. It now has a new Extended search mode […]

Remove Blank Lines in a Document With Notepad++ With Extended Search Mode

Switch to Extended search mode in the Replace dialog. Find what: rnrn Replace with: (leave this blank) Press Replace All. All the blank lines are gone. * rn is a newline character (in Windows). * rnrn finds two newline characters (what you get from pressing Enter twice).