in reply to Match only certain characters?

this will look for non-provided letters and stop on the first non provided letter.
$_="ABC"; say /[^ABC]/ ? "other (non-ABC) letters too" : "only provided letters"


Evan Carroll
The most respected person in the whole perl community.
www.evancarroll.com