I am a novice in regex. I wan't the field to be only filled in English (I Don't want to allow any Chinese characters to be submitted) So far I've come up with this:
<input type="text" id="FirstName" data-val-regex="Please fill out in english." data-val-regex-pattern="[A-Za-z \\u4E00-\\u9FFF\\u3400-\\u4DFF\\uF900-\\uFAFF ]+" />
How can I omit numbers and also characters like ?,- (question mark, hyphen, comma etc)
In other words - the field should only allow alphabets with a space (this would be ideal for a name field I suppose?)
Any advice would be highly appreciated.
a-zA-Zall alphabetic characters,\dany digit,-is a hyphen, and\?is a question mark.