Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^[0-9]*(?:,[0-9]{3})*\.[0-9]{2}$
/
gm
Input 1
1
New
Allow 100,000.12 10,000.12 1,000.12 100.12 10.12 .12 Don't allow abcd 1,,000.12 1,00.12 1,000.0 1,000.