in reply to leaving only [a-zA-Z0-9]
you can also use $a =~ s/\W//g;
If you use locales; it supports special chars too.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: leaving only [a-zA-Z0-9]
by Happy-the-monk (Canon) on Mar 21, 2004 at 14:18 UTC | |
by neniro (Priest) on Mar 21, 2004 at 14:38 UTC |
In Section
Seekers of Perl Wisdom