Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
r"
https?:// (?:www\.)? ((?:[a-z][a-z0-9-]*[a-z0-9]\.|[a-z]\.)+ (?:[a-z][a-z0-9-]*[a-z0-9]|[a-z]))
"
gix
Input 1
1
New
http://0.example.com http://www.www.example.com https://dash-dash.example.com http://-dash.example.com https://dash-.example.com http://some.something.com https://www.helloworld.com http://apple.www.example.com https://example-2.com http://awww.example.com TV.S1E01.mp4 ssh://example.com
Extraction