regular expression to validate first and last name code example Example: find full name regular expression ^[A-Z][-a-zA-Z]+$