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
“Defanged” URL or IPv4 address
Open Workspace
PCRE (Legacy)
Match
Created 2020-03-04 12:03
0
Regular Expression
/
^
(
(
(
h
..
ps
?
|
f
.
p
)
:
\/\/
)?(?:
(
[
\w
\-\.
]
)+(
\[
?
\.\]
?
)(
[
\w
]
){2,4}
|
(?:
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
\d
|
[
01
]
?
\d\d
?
)
\[
?
\.\]
?
){3}(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
\d
|
[
01
]
?
\d\d
?
)
)
)*(
[
\w
\/
+=%&_
\.
~?
\-
]
*
)
$
/
gm
Description
No description provided.
Submitted by
Anonymous