Test, validate and match regular expressions
This regular expression matches numeric strings that may include an optional positive or negative sign, optional thousands separators, and an optional decimal part. It uses a named capture group called 'IsNumeric' and is anchored to match whole lines using the global and multiline flags. It is ideal for validating user input where formatted numbers, such as 1,234.56, are expected.