Today I found a very funny while interesting post (http://elegantcode.com/2013/02/22/confessions-of-a-sublime-text-aholic/).

A developer needed to quickly remove all empty lines from a very large text file. The solution they came up with, using Sublime Text, was:

  1. Press CTRL-F
  2. Enable regular expressions (the button entirely in the bottom-left corner).
  3. Search for ^\s*$
  4. PressALT-ENTER (click on the “Find all” button).
  5. Hit the backspace button.
  6. Done!
  7. Be merry …
Categories: linkregular

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *