Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (4 sloc) 146 Bytes

Find White Space with Regular Expressions

We can also use selectors like\s to find spaces in a string.

It is used like this:

/\s+/g

Something went wrong with that request. Please try again.