Build, test, and debug regular expressions
Matches sequences of digits, or digits followed by any single character and more digits, capturing the result in a group. Note the unescaped dot matches ANY character, not just a literal period, so it captures decimal-like patterns broadly. Typically used for cleanup tasks such as locating and removing trailing dots after numbers in text. The 'g' flag finds all matches, while 'm' treats each line separately.