I'm using a simple Javascript regular expression to validate people's names. However, I do not want to allow a user to enter accented characters like ã, ä, õ, ö, etc. I am aware that these can actually be valid characters in a name, but for my exercise, I need to be able to filter them out.
My current regex:
^[a-zA-Z]+('|-|.|)[a-zA-Z\s]+$
This matches accented characters as well. How do I modify this regex so that it doesn't match names with accents (or any Unicode character, for that matter)?