Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
[+-]?((\d+(\.\d*)?)|((\d*\.\d+)))(e[-+]?\d*)?
/
gm

Description

Matches: 1.0 .01 100. 1e-10 1.0e3 0.2e10

Submitted by anonymous - 6 years ago