You are going to have lots of problems with validating names - there are lots of different types of names. Consider:
- Jéan-luc Picard
- Carmilla Parker-Bowles
-
- Matt LeBlanc
- Chan Kong-sang (Jackie Chan's real name)
- P!nk
Love Symbol #2
The easiest thing to do is to get the user to enter their name and accept it as is. If you want to break it up into personal name and family names for things such as personalisation, then I suggest you break up the input fields into two (or more) parts, or simply ask for a "preferred name" or "nickname" field.
I doubt you'll find a regex that can validate all the variety of names out there - get a big set of sample data (preferably real-world) before you start trying.