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{0,2})$
/
gm
Input 1
1
.1 0.1 2.2.2.22223435 123412341 21341.123 2342.23
Substitution
.1 0.1 2.2.2.22223435 123412341 21341.123 2342.23