Test, validate and match regular expressions
Parses Skype conversation logs by matching two header formats — a simple timestamp like `[10:23:45 AM] John Doe:` and a compound one like `[10:23:45 AM | John | 10:23:45 AM] John Doe:` — followed by the message body of spaces, word characters, apostrophes, periods, and commas. Useful for extracting timestamps, sender names, and message text from exported Skype chat transcripts. With the global flag it captures every message line in a conversation.