Devtools.supstudio.in

Tools/Regex

Whitespace

What this is

\s in JavaScript is Unicode-aware with the u flag in modern engines. Split on \s+ to tokenize sloppy logs.

/\s+/g
one   two	three
four

Open in tester

FAQ

Only spaces?
Use [ ]+ if tabs and newlines must survive.

Related