Find and Replace Blank Lines VS Code By nertbloxDecember 26, 2017August 13, 2025VS Code, Windows Press Ctrl + H In "Find" Section type ^(\s)*$\n\n In the Replace Section make sure it's blank Click Replace Go have a cup of coffee