On Apr 16, jon shoberg said: > How do I go about removing characters from a string that are not >alpha-numeric, a question-mark, < character, or > character ?
You'd probably want to use the tr/// operator. $string =~ tr/a-zA-Z0-9?<>//cd; That'll remove all characters that are not a-z, A-Z, 0-9, ?, <, or >. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ ** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. [ I'm looking for programming work. If you like my work, let me know. ] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
