What do you mean by "uppercase"? Are you just talking about A-Z in the Roman alphabet or about uppercase letters in non-Roman alphabets as well? In any case, you're going to have to do range checks like