I am using a regex to program an input validator for a text box where I only want alphabetical characters. I was wondering if [A-z] and [a-zA-Z] we
[A-z]
[a-zA-Z]
Take a look at ASCII table. You'll see that there are some characters between Z and a, so you will match more than you intented to.
Z
a