This is a great post on using XEmacs to do regular expressions. Regular expressions guide: Go from beginner to intermediate
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 […]
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).