Test, validate and match regular expressions
Matches two consecutive capitalized words separated by whitespace, where each word starts with an uppercase letter followed by one or more lowercase letters. With global and multiline flags, it finds all such pairs across every line in a text. Commonly used to extract full names (e.g., 'John Smith') or two-word proper nouns like 'New York' from documents.