Regular Expressions 101

Library entries

Floating Point

Vote

1

Regular Expression
javascript

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

Description

Loading markdown...
Submitted by Josh L. Rasmussen - 6 years ago