Today I found a very funny while interesting post (

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


Leave a Reply

Avatar placeholder

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