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
IpAddress
Open Workspace
Python
Match
Created 2021-01-14 09:00
2
Regular Expression
r"
^
(?:
2
[
0
-
4
]
[
0
-
9
]
|
25
[
0
-
5
]
|
1
?
[
0
-
9
]
?
[
0
-
9
]
)
[
.
]
(?:
2
[
0
-
4
]
[
0
-
9
]
|
25
[
0
-
5
]
|
1
?
[
0
-
9
]
?
[
0
-
9
]
)
[
.
]
(?:
2
[
0
-
4
]
[
0
-
9
]
|
25
[
0
-
5
]
|
1
?
[
0
-
9
]
?
[
0
-
9
]
)
[
.
]
(?:
2
[
0
-
4
]
[
0
-
9
]
|
25
[
0
-
5
]
|
1
?
[
0
-
9
]
?
[
0
-
9
]
)
$
"
gm
Description
Ensure the ip address format is correct
Submitted by
aaa