Regex pack·Free
Text cleanup patterns
21 patterns that tidy text with Replace all: trailing spaces, indentation, repeated spaces, words and lines, extra blank lines, CRLF, tabs, curly quotes, invisible characters and HTML tags. Others mask emails and IPs or turn a list into quoted lines.
Free to install.
If PocketCode is installed on your Android device, this opens the page in the app.
Preview
3 of 21
(?m)(?<![ \t])[ \t]++$()Remove trailing spaces and tabs
(?m)^[ \t]++()Remove indentation (spaces and tabs at the start of lines)
(?<=\S) {2,}+(?=\S)Collapse runs of spaces inside a line (keeps indentation)
Changes in 1.0.0
First version.