Test, validate and match regular expressions
Matches a line containing a two-word key (such as a first and last name), an optional parenthesized qualifier, a colon separator, and two trailing values. For example, it parses 'John Smith (admin): value123 active' into three capture groups: the name, the value after the colon, and a final word. Useful for extracting structured fields from logs, config files, or formatted text following a 'Name (alias): value status' pattern.