I need to do validation for text with the following conditions.
- Numerics are not allowed.
- The allowed characters are: A-Z, a-z, apostrophe, space and hyphen.
- Does not contain Suffix
I am new to .Net and JavaScript. Can someone suggest how to do it?
Use the following code in your “keyup blur” event handler
Use + instead of * if you don’t want to allow empty matches for regex.