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
URL matching
Open Workspace
Python
Match
Created 2025-08-07 13:22
1
Regular Expression
r"
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)
|
www
\.
)
[
A
-
Za
-
z0
-
9.-
]
+
(
(?:
\/
[
-
\+
~%
\/
.
\w
_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
"
ig
Description
Matches URLs in texts.
Forked from
https://regex101.com/r/cX0pJ8/1
, then removed matching emails
Submitted by
Anonymous