regex Space JavaScript
var str = "Is this all there is?";
var patt1 = /\s/g;
Maxime Laplace
var str = "Is this all there is?";
var patt1 = /\s/g;