*matches any number of characters from the set below:
\wany word character
-the literal - (4510 / 558 / 2D16)
\s*any whitespace character, repeated any number of times
:the literal : (5810 / 728 / 3A16)
\s*any whitespace character, repeated any number of times
.*?any character (except for line terminators), repeated any number of times
Positive Lookahead(?=\s*(?:;|$)) \s*any whitespace character, repeated any number of times
Non-Capturing Group(?:;|$) ;the literal ; (5910 / 738 / 3B16)
$end of string, or before its final line terminator
g modifier: global. Finds all matches instead of stopping after the first