^start of string
\d{4}a digit, repeated exactly 4 times
-the literal - (4510 / 558 / 2D16)
\d{2}a digit, repeated exactly 2 times
-the literal - (4510 / 558 / 2D16)
\d{2}a digit, repeated exactly 2 times
$end of string, or before its final line terminator
g modifier: global. Finds all matches instead of stopping after the first