Test, validate and match regular expressions
Matches a three-part full name consisting of a first name, middle name, and last name separated by whitespace. The first and last names may optionally include a single hyphen (e.g., 'Anne-Marie' or 'Smith-Jones'), while the middle name must contain letters only. Useful for validating person names in forms or user input, though it doesn't accommodate apostrophes, accented characters, or names with more or fewer than three parts.