in reply to Wildcard?

You could use character classes in your regex
if($string =~ /^R[a-zA-Z]{2}\z/) { ... }
So that will match 'Rat', 'Rod' and 'Ran' but not 'R4t', 'R0d' or 'RA\n'. For more info on regular expressions see the perlre manpage.
HTH

_________
broquaint