Test, validate and match regular expressions
This regex matches decimal numbers, including those with signs, leading or trailing digits, and optional scientific notation. It captures the full numeric value, such as 123, -0.5, +3.14e-2, or .5e+3. Useful for extracting numeric values from text, validating simple number inputs, or tokenizing data in logs and CSV files.