Perl: Check if "$str" is of type [A-Z]<char string>[0-9][0-9]
Hello !
In a Perl script, I have a string, $str. I need to check if the string is of the form: [A-Z]<string consisting of chars a-z>[0-9][0-9] and print "yes" if it is, "no" if it isn't.
Matching examples: Awhatever49, Xwhenever30, Paaaa00, Thisisnice73.
Can anyone help me with this ?
|