Test, validate and match regular expressions
Matches numeric strings with an optional leading or trailing dollar sign, optional minus sign, and optional letter 'E', allowing digits, commas, and periods. Useful for extracting currency-like values or simple numbers from text, such as prices and amounts, though it does not enforce a valid numeric format.