JavaScript Regular Expressions

Metacharacters Playground


\W

The \W metacharacter matches non-word characters.

You will see the result here