Replace blanks in VS Code
Step 1: Press the group keys “Ctrl+F” and paste “^\s*(?=\r?$)\n“, then press group keys “Alt + R“.
Step 2: Replace the multiple blanks with “Ctrl+Alt+Enter” group keys.
Step 1: Press the group keys “Ctrl+F” and paste “^\s*(?=\r?$)\n“, then press group keys “Alt + R“.
Step 2: Replace the multiple blanks with “Ctrl+Alt+Enter” group keys.