Reduce excessive blank vertical spacing.

Section: Editor Refactor Recipes

Find 3+ blank lines

regex
regex
(?:\r?\n\s*){3,}
Explanation

Good cleanup recipe during formatting passes.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Editor Refactor Recipes
Find simple `var` declarations
Find `var` declarations for modernization review.
OpenIn sheetregexsame section
Find CommonJS require calls
Find CommonJS imports for migration to ESM.
OpenIn sheetregexsame section
Find repeated spaces
Match runs of multiple spaces.
OpenIn sheetregexsame section
Enable regex mode in search
Use regex search in VS Code find/replace.
Capture ES import path
Find JavaScript/TypeScript imports and capture the module path.
Add commas to object properties
Find non-final object property lines missing a comma.