Regular Expressions 101

Community Patterns

Number Expr


Regular Expression
ECMAScript (JavaScript)



A "raw" expression matching numbers; anything from a simple 123 to -123,456.78e90 will be matched.

Note: this may be vulnerable to ReDoS attacks when long multiline entries are available & a few hundered (or thousand depending on the length of the input) steps is a problem; check the Regex Debugger for more information.

Submitted by - 3 months ago (Last modified 3 months ago)