Re: substitute/regex etc
- From: krahnj@xxxxxxxxx (John W. Krahn)
- Date: Sat, 27 May 2006 14:36:19 -0700
Dan wrote:
how can i substitute, or remove anything that's not an alphanumerical
character in a string?
s/[[:alnum:]]+//g;
John
--
use Perl;
program
fulfillment
.
- Follow-Ups:
- Re: substitute/regex etc
- From: John W. Krahn
- Re: substitute/regex etc
- References:
- substitute/regex etc
- From: Dan
- substitute/regex etc
- Prev by Date: Re: accessor problem in OO
- Next by Date: Re: substitute/regex etc
- Previous by thread: RE: substitute/regex etc
- Next by thread: Re: substitute/regex etc
- Index(es):