Build, test, and debug regular expressions
Matches one or more digits captured in group 1, followed greedily by any remaining characters on the line (excluding newlines). With the global and multiline flags, it finds such patterns on every line of input, making it ideal for extracting numeric prefixes—like shift factor values, indices, or measurements—from logs, reports, or configuration files.