Regular Expressions 101

Library entries

Number matching RE

Vote

0

Regular Expression
javascript

/
^[+-]?((0\.\d+)|([1-9]+(\d?\.\d+)?))$
/

Description

Loading markdown...
Submitted by Mario Diana - 7 years ago