For website validation purposes, I need first name and last name validation.
For the first name, it should only contain letters, can be several words with spaces, an
For simplicities sake, you can use:
(.*)\s(.*)
The thing I like about this is that the last name is always after the first name, so if you're going to enter this matched groups into a database, and the name is John M. Smith, the 1st group will be John M., and the 2nd group will be Smith.