OK, I'm trying to do something that I thought would be simple, but apparently isn't.
I'm checking user input via a form to make sure that there are only English characters (no numbers, punctuation, foreign characters or <i>accented Latin</i>). So far everything I've tried just doesn't work.
I think it basically comes down to me not being familiar enough with regex, but I could be tripping up on some obscure thing that includes accented Latin in the typical "a-z" or ":alpha:" ranges.
Any help is much appreciated.
I'm checking user input via a form to make sure that there are only English characters (no numbers, punctuation, foreign characters or <i>accented Latin</i>). So far everything I've tried just doesn't work.
I think it basically comes down to me not being familiar enough with regex, but I could be tripping up on some obscure thing that includes accented Latin in the typical "a-z" or ":alpha:" ranges.
Any help is much appreciated.