Build, test, and debug regular expressions
This regular expression matches positive and negative integers or decimal numbers, including optional comma-separated thousands (e.g., 1,234.56). It is useful for validating numeric input in user forms or parsing formatted financial data. The pattern allows for matching across multiple lines due to the global and multiline flags.