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
r"
^6.102$
"
gm
Unit Tests
6.031
→ regex does match
6.00
→ regex does match
6.341
→ regex does match
17.006
→ regex does match
15.0341
→ regex does match
6005
→ regex does not match
128.2.34.101
→ regex does not match
NO.DONT
→ regex does not match
6.5X0
→ regex does not match
OU.812
→ regex does not match