A pure regular expression of this would be
[A-TVWZ]|^$
which will either match one of the above letters, or an empty string. Your comment indicates that the user can enter only one character, so another option would be
^[A-TVWZ]?$
which is similar to Wakas answer. However, this one will not enter other lines that may coincide due to anchors.
source share