rgbthe literal text rgb (case sensitive) a?optionally matches the literal a (9710 / 1418 / 6116) (case sensitive)
\(the literal ( (4010 / 508 / 2816)
\s*any whitespace character, repeated any number of times
Group 1(25[0-5]|2[0-4]\d|1\d{1,2}|\d\d?) 0-5one character from 0 (4810) to 5 (5310)
2the literal 2 (5010 / 628 / 3216)
0-4one character from 0 (4810) to 4 (5210)
\da digit
1the literal 1 (4910 / 618 / 3116)
\d{1,2}a digit, repeated between 1 and 2 times
\da digit
\d?optionally matches a digit
\s*any whitespace character, repeated any number of times
,the literal , (4410 / 548 / 2C16)
\s*any whitespace character, repeated any number of times
Group 2(25[0-5]|2[0-4]\d|1\d{1,2}|\d\d?) 0-5one character from 0 (4810) to 5 (5310)
2the literal 2 (5010 / 628 / 3216)
0-4one character from 0 (4810) to 4 (5210)
\da digit
1the literal 1 (4910 / 618 / 3116)
\d{1,2}a digit, repeated between 1 and 2 times
\da digit
\d?optionally matches a digit
\s*any whitespace character, repeated any number of times
,the literal , (4410 / 548 / 2C16)
\s*any whitespace character, repeated any number of times
Group 3(25[0-5]|2[0-4]\d|1\d{1,2}|\d\d?) 0-5one character from 0 (4810) to 5 (5310)
2the literal 2 (5010 / 628 / 3216)
0-4one character from 0 (4810) to 4 (5210)
\da digit
1the literal 1 (4910 / 618 / 3116)
\d{1,2}a digit, repeated between 1 and 2 times
\da digit
\d?optionally matches a digit
\s*any whitespace character, repeated any number of times
,?optionally matches the literal , (4410 / 548 / 2C16)
\s*any whitespace character, repeated any number of times
?repeats the group contents below at most once:
0the literal 0 (4810 / 608 / 3016)
1the literal 1 (4910 / 618 / 3116)
\.the literal . (4610 / 568 / 2E16)
\.?optionally matches the literal . (4610 / 568 / 2E16)
\d?optionally matches a digit
\s*any whitespace character, repeated any number of times
\)the literal ) (4110 / 518 / 2916)
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