How to remove empty lines in Visual Studio?
To remove double lines: ^:b*\n:b*\n replace with: \n
Source: http://geekswithblogs.net/mnf/archive/2008/03/04/remove-empty-lines-in--text-using-visual-studio.aspx