Build, test, and debug regular expressions
This regular expression matches integer or decimal numbers, optionally with a leading minus sign for negative values. It captures both whole numbers (e.g., 42, -7) and floating-point numbers (e.g., 3.14, -0.5). The global flag allows matching all occurrences in a string, while multiline ensures it works across line breaks. Common use cases include extracting numeric data from logs, validating numeric input, and tokenizing numbers in text processing.