Double spaces around two words
- Your text
- Hello world
- What to remove
- Extra spaces
- Remove blank lines
- Yes
Result Cleaned text: Hello world
Characters removed: 6
Characters before: 17
Characters after: 11
Whitespace characters found: 7
Tabs found: 0
- Collapsed runs of spaces and tabs to one space and trimmed each line.
- Dropped lines that were empty after trimming.
- Characters: 17 before − 11 after = 6 removed.
Two leading spaces, three between the words and two trailing ones shrink to the single space between Hello and world.