Remove duplicate spaces

You can remove duplicate spaces from a line using this tool. This can be especially helpful when you need to remove multiple spaces from a line. This is simple example of a Extract operator and powerful regular expressions.
Text input
1
2
3
4
5
6
7
8
9
10
Lines: 10Chars: 779
Generated output
1
Lines: 1Chars: 0
Text transformation pipeline
Replace
Replace regexp '\s+' with ' '