http://qs321.pair.com?node_id=125164


in reply to Re: Re: Simple Regex for Alpha string
in thread Simple Regex for Alpha string

For handling non-ASCII characters you can do a use locale; (see perllocale) and use the POSIX character class "upper": /^[[:upper:]]{2}$/