What's wrong with \W ?
$string=~s/\W//gBecause underscore is also word char?
In reply to Re: stripping everything but numbers and letters
by leocharre
in thread stripping everything but numbers and letters
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |