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+(,|$)(\d{1,2}|)$
"
gm
Input 1
1
New
1 1,3 1,33 1,333 22,1 22,1 22,11 22,111
Extraction
$0\n
1 1,3 1,33 1,333 22,1 22,1 22,11 22,111