Re: substitute/regex etc



""John W. Krahn"" <krahnj@xxxxxxxxx> wrote in message
news:4478C6D0.1030102@xxxxxxxxxxxx
John W. Krahn wrote:
Dan wrote:
how can i substitute, or remove anything that's not an alphanumerical
character in a string?

s/[[:alnum:]]+//g;

Sorry, that should be:

s/[^[:alnum:]]+//g;


John
--
use Perl;
program
fulfillment

ohh clever! ;) that's much easier!
thanks!

dan


.



Relevant Pages