On Wednesday, June 11, 2003, at 05:14 AM, Jaschar Otto wrote:

$string =~ s/[^abcd]//g;

Thanks a lot, that worked perfect,

Transliterate is probably a better choice for this kind of thing. It's certainly more efficient. You would use it like this:


$string =~ tr/abcd/ /c;

James


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to