Regular Expressions 101

Library entries

Float

Vote

1

Regular Expression
javascript

/
^\-?\d+(\.(?=\d))?\d*$
/
mg

Description

Loading markdown...
Submitted by Gary Ott - 6 years ago