^start of line
Non-Capturing Group(?:40\d[0-5]|[1-3]\d{3}|\d{1,3}) \da digit
0-5one character from 0 (4810) to 5 (5310)
2nd Alternative[1-3]\d{3} 1-3one character from 1 (4910) to 3 (5110)
\d{3}a digit, repeated exactly 3 times
\d{1,3}a digit, repeated between 1 and 3 times
,the literal , (4410 / 548 / 2C16)
Non-Capturing Group(?:40\d[0-5]|[1-3]\d{3}|\d{1,3}) \da digit
0-5one character from 0 (4810) to 5 (5310)
2nd Alternative[1-3]\d{3} 1-3one character from 1 (4910) to 3 (5110)
\d{3}a digit, repeated exactly 3 times
\d{1,3}a digit, repeated between 1 and 3 times
,the literal , (4410 / 548 / 2C16)
Non-Capturing Group(?:40\d[0-5]|[1-3]\d{3}|\d{1,3}) \da digit
0-5one character from 0 (4810) to 5 (5310)
2nd Alternative[1-3]\d{3} 1-3one character from 1 (4910) to 3 (5110)
\d{3}a digit, repeated exactly 3 times
\d{1,3}a digit, repeated between 1 and 3 times
,the literal , (4410 / 548 / 2C16)
Non-Capturing Group(?:40\d[0-5]|[1-3]\d{3}|\d{1,3}) \da digit
0-5one character from 0 (4810) to 5 (5310)
2nd Alternative[1-3]\d{3} 1-3one character from 1 (4910) to 3 (5110)
\d{3}a digit, repeated exactly 3 times
\d{1,3}a digit, repeated between 1 and 3 times
$end of line
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string