title: Does the Javascript regex pattern \W include spaces?
body: <p>I am using this expression: <code>/\W+/g</code> to match all characters that are not numbers, letters and spaces. It seems to be including spaces. How would I build a regex that did not include spaces?</p>