title: How do I create a Perl regex that matches non-alphanumeric characters except spaces?
body: <p>I have a Perl regex <code>/\W/i</code> which matches all non-alphanumeric characters, but it also matches spaces which I want to ignore. How do I get it to match non-alphanumeric characters except spaces?</p>