Regular Expressions 101

Library entries

Simple Number

Vote

6

Regular Expression
javascript

/
^[\-]{0,1}[0-9]+[\.][0-9]+|[\-]{0,1}[0-9]+$
/
g

Description

Loading markdown...
Submitted by David P Smith - 6 years ago