Ananda has asked for the wisdom of the Perl Monks concerning the following question:
Hello monks, I need a oneliner for the below regex. I havent been able to search for the solution due to time constraint.
$a =~ s/\W//g;
$a =~ s/_//g;
Thanks for all the Help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Need a one liner
by beable (Friar) on Jul 17, 2004 at 10:36 UTC | |
by Skeeve (Parson) on Jul 17, 2004 at 16:30 UTC | |
by Ananda (Pilgrim) on Jul 17, 2004 at 10:48 UTC | |
by beable (Friar) on Jul 17, 2004 at 10:58 UTC | |
|
Re: Need a one liner
by crabbdean (Pilgrim) on Jul 17, 2004 at 10:31 UTC | |
by davido (Cardinal) on Jul 17, 2004 at 15:30 UTC | |
|
Re: Need a one liner
by ihb (Deacon) on Jul 18, 2004 at 18:42 UTC |