Regular Expressions 101

Library entries

Currency Formater Accept , & .

Vote

4

Regular Expression
javascript

/
^[0-9]{1,3}(?:,?[0-9]{3})*(?:\.[0-9]{1,9})?$
/
gmi

Description

Loading markdown...
Submitted by anonymous - 6 years ago