Friday, June 10, 2022

How to delete or remove blank lines in visual studio or SQL Server Management Studio

 

  1. Open your code in Visual Studio Code.
  2. From Edit Menu, select Replace or use a short cut key ( Ctrl + H on Windows)
  3. In the find box type ^(\s)*$\n.
  4. Leave the replace box empty.
  5. Make sure the 'Use Regular Expression' is selected.

No comments:

Post a Comment