Build, test, and debug regular expressions
This regex captures sequences of one or more digits followed by an optional period, making it useful for extracting version number components from filenames. With the global flag, it matches all numeric patterns throughout a string. For example, in 'app_v2.1.4.exe', it would match '2.', '1.', and '4' separately.