the literal (3210 / 408 / 2016)
\d+a digit, repeated at least once
Non-Capturing Group(?:\.\d+)* *repeats the group contents below any number of times:
\.the literal . (4610 / 568 / 2E16)
\d+a digit, repeated at least once
*?matches any number of characters from the set below:
\sany whitespace character
\Sany non-whitespace character
\Dany character that's not a digit
\.the literal . (4610 / 568 / 2E16)
Positive Lookahead(?=\s*(?:\d|$)) \s*any whitespace character, repeated any number of times
Non-Capturing Group(?:\d|$) $end of string, or before its final line terminator
g modifier: global. Finds all matches instead of stopping after the first