Test, validate and match regular expressions
This regex matches floating-point numbers and integers with optional positive/negative signs, supporting both dot (.) and comma (,) as decimal separators. It handles standard decimal notation (123.456, 123,456), exponential notation (1e10, 1.5E-3), trailing decimal points (123.), and plain integers. Ideal for international applications needing to parse both European and American number formats.