\d+a digit, repeated at least once
\.?optionally matches the literal . (4610 / 568 / 2E16)
\d*a digit, repeated any number of times
Kthe literal K (7510 / 1138 / 4B16) (case sensitive)
Mthe literal M (7710 / 1158 / 4D16) (case sensitive)
Gthe literal G (7110 / 1078 / 4716) (case sensitive)
Tthe literal T (8410 / 1248 / 5416) (case sensitive)
Bthe literal B (6610 / 1028 / 4216) (case sensitive)
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