Three short lines
- Text with line breaks
- one two three
- Replace each break with
- A space
- Collapse repeated spaces and tabs
- Yes
Result Cleaned text: one two three
Line breaks removed: 2
Characters before: 13
Characters after: 13
Words: 3
- Found 2 line breaks (LF, CRLF, CR and Unicode line separators).
- Each break was replaced with one space and the edges of each line trimmed.
- Runs of spaces and tabs were collapsed to one space.
Two breaks become two spaces, giving a single 13-character line.