Negative Lookahead(?!.*\d\.\d) .*any Unicode character (except for line terminators), repeated any number of times
\da Unicode decimal digit
\.the literal . (4610 / 568 / 2E16)
\da Unicode decimal digit
.*?any Unicode character (except for line terminators), repeated any number of times
\s*a Unicode whitespace character, repeated any number of times
\ba Unicode word boundary
\d+a Unicode decimal digit, repeated at least once
Non-Capturing Group(?:\s*mg)? ?repeats the group contents below at most once:
\s*a Unicode whitespace character, repeated any number of times
mgthe literal text mg (case sensitive) \ba Unicode word boundary
\s*a Unicode whitespace character, repeated any number of times
.*any Unicode character (except for line terminators), repeated any number of times