regex all whitespace except space code example
Example: whitespace regex
\s is the regex character for whitespace. It matches spaces, new lines, carriage returns, and tabs.
\s is the regex character for whitespace. It matches spaces, new lines, carriage returns, and tabs.