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
/
^\d{1,3}( \d{3})?(([\., ])\d{3}(\4\d{3})*)?([\.,]\d+)?$
/
gm
Input 1
1
New
3 13 330,1 3.1021 12 300 1,000,000 20.000.000 1,044.12 1 044,120.12 3..4 3,,4 3 4 10.,2 10.,.2 10 ,2 10..... 2 12,300.3 3 12 300.230,12.3 1 3 200 10 200 1232 10 111 22 12,12.23 1 123,123 123 .40 ,40
Substitution
3 13 330,1 3.1021 12 300 1,000,000 20.000.000 1,044.12 1 044,120.12 3..4 3,,4 3 4 10.,2 10.,.2 10 ,2 10..... 2 12,300.3 3 12 300.230,12.3 1 3 200 10 200 1232 10 111 22 12,12.23 1 123,123 123 .40 ,40