Keep It Simple, Stupid | |
PerlMonks |
Re: leaving only [a-zA-Z0-9]by neniro (Priest) |
on Mar 21, 2004 at 13:58 UTC ( [id://338451]=note: print w/replies, xml ) | Need Help?? |
you can also use $a =~ s/\W//g; If you use locales; it supports special chars too.
In Section
Seekers of Perl Wisdom
|
|