Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
IPv4
Open Workspace
Python
Match
Created 2015-06-19 13:07
-2
Regular Expression
r"
(
(
(
[
12
]
{1}
\d\d
)
|
(
1-9]
\d
)
|
(
[
1
-
9
]
)
)
[
\.
]
){3}(
(
[
12
]
{1}
\d\d
)
|
(
[
1
-
9
]
\d
)
|
(
[
1
-
9
]
)
)
"
Description
allows for all legal IPv4 addresses
Submitted by
Anonymous