Hi >\s is not one character, it stands usually for a whole character class! >Do you mean an empty string ("") or just a blank (" ") instead?
i ment a blank (" "). >character class negation works with [^...], >in your case it would be >$string =~ s/[^abcd]//g; Thanks a lot, that worked perfect, maybe i was too blind but i couldn't find this character calss negation in perlre when i searched last time before your post :-) anyways, thanks again -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]