Test, validate and match regular expressions
Matches structured contact directory entries with a person's name (including optional hyphenated first names and middle initials), a comma-separated phone number in various formats (parentheses, dashes, spaces, or country codes), and a category identifier that may include hyphenated sub-categories. Useful for parsing data files containing formatted contact or personnel records.