Build, test, and debug regular expressions
This regex matches individual components of author names, including capitalized full names and single-letter initials with periods. It captures name parts like "John", "Smith", or "J." optionally followed by commas or spaces, making it useful for parsing author lists in citations or bibliographies. The global and multiline flags allow it to match multiple name components across lines.