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

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to