The freeCodeCamp Forum
Guide: Find White Space with Regular Expressions
Guide
camperbot
July 7, 2016, 8:17pm
1
We can also use selectors like
\s
to find spaces in a string.
It is used like this:
/\s+/g