Test, validate and match regular expressions
Matches individual lines from a WhatsApp chat export in the format `[12/25/2023, 3:45:12 PM] John: Hello there!`. It captures four groups: the date (M/D/Y), the time with AM/PM marker, the sender's name, and the message content. Useful for parsing, analyzing, archiving, or migrating WhatsApp conversation logs. Minor caveat: the `[a|p]` character class also matches a literal pipe character, though this rarely occurs in real exports.