Build, test, and debug regular expressions
This regex matches one or more consecutive digits, ensuring the match ends at a word boundary so it stops before letters or non-word characters. It is ideal for extracting integer numbers from strings, such as parsing IDs, counts, or measurements. With the global flag, it captures all numeric sequences in the input rather than just the first.