Find and Replace Blank Lines VS Code

  1. Press Ctrl + H
  2. In “Find” Section type ^(\s)*$\n\n
  3. In the Replace Section make sure it’s blank
  4. Click Replace
  5. Go have a cup of coffee

Leave a Reply