^start of line
Character Class[A-Z]{1,4} {1,4}matches between 1 and 4 characters from the set below:
A-Zone character from A (6510) to Z (9010) (case sensitive)
-the literal - (4510 / 558 / 2D16)
Character Class[0-9]{1,4} {1,4}matches between 1 and 4 characters from the set below:
0-9one character from 0 (4810) to 9 (5710)
:the literal : (5810 / 728 / 3A16)
\sany whitespace character
\w*any word character, repeated any number of times
?repeats the group contents below at most once:
\(the literal ( (4010 / 508 / 2816)
\w+any word character, repeated at least once
\)the literal ) (4110 / 518 / 2916)
:the literal : (5810 / 728 / 3A16)
\sany whitespace character
.*any character (except for line terminators), repeated any number of times
$end of line
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string
g modifier: global. Finds all matches instead of stopping after the first