Regular Expressions 101

Community Patterns

match float point number either with thousand comma or without.

0

Regular Expression
ECMAScript (JavaScript)

/
^((\d{1,3}(,\d{3})*(\.\d+)?)|(\d+(\.\d+)?))$
/
gm

Description

no description available

Submitted by anonymous - 4 years ago