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+)\.(\d+)
`
gm
Input 1
1.2.3 1.2.33 1.22.3 11.2.3 11.22.33 1.22.33 11.22.3 11.2.33
Substitution
1.2.3 1.2.33 1.22.3 11.2.3 11.22.33 1.22.33 11.22.3 11.2.33