Let\'s say I had a text file with the following nine lines:
foo bar baz qux quux
How can I use Sublime Text 2 to remove all four of the
There is a wonderful package (for Sublime 2 & 3) called 'Trimmer' which deletes empty lines. It also does many other useful things.
Refer this: https://packagecontrol.io/packages/Trimmer