What you want is:
=~ /[^A-Za-z0-9]/
Which could also be written as:
=~ /\W/
...which would also include the underscore in addition to the alphanumeric characters. See perlre for more info.
In reply to Re: Regex help
by mikeirw
in thread Regex help
by Angel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |