FG
💻 Software

Notepad++ "Compress whitespace" effect

Fresh6 days ago
Mar 15, 202619573 views
Confidence Score0%
0%

Problem

I'm looking for a mechanism within notepad++ to replace runs of consecutive whitespace with a single space, like the "Compress whitespace" command in notepad2. Essentially, in regex form: I know I can do it with the find-replace form, but I would prefer soemthing that I can bind to a keyboard seque…

Error Output

s/\s+/ /g

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Notepad++ "Compress whitespace" effect

Low Risk

Edit > Blank Operations > Remove Unnecessary Blank and EOL Not sure if that's a default feature or plugin, but there's always a million plugins to do anything else. The TextFX Plugin is worth a look as well.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment