JavaScript Regular Expressions

Metacharacters Playground


\s

The \s metacharacter matches whitespace character.

You will see the result here