Test, validate and match regular expressions
This regex matches Asterisk channel identifiers in the form of protocol (PJSIP or SIP), a 3-5 digit extension, a hyphen, and a unique ID starting with 'AA' followed by five digits. It is useful for parsing call logs, CDRs, or monitoring output to filter or extract specific channels. The 'gm' flags enable global matching across multiple lines.