Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
([\w+]+\:\/\/)?([\w\d-]+\.)*[\w-]+[\.\:]\w+([\/\?\=\&\#]?[\w-]+)*\/?
/
gm
Input 1
1
New
https://www.facebook.com https://app-1.number123.com http://facebook.com ftp://facebook.com http://localhost:3000 localhost:3000/ unitedkingdomurl.co.uk this.is.a.url.com/its/still=going?wow shop.facebook.org app.number123.com app1.number123.com app-1.numbEr123.com app.dashes-dash.com www.facebook.com facebook.com fb.com/hello_123 fb.com/hel-lo fb.com/hello/goodbye fb.com/hello/goodbye?okay fb.com/hello/goodbye?okay=alright Hello www.google.com World http://yahoo.com https://www.google.com.tr/admin/subPage?qs1=sss1&qs2=sss2&qs3=sss3#Services https://google.com.tr/test/subPage?qs1=sss1&qs2=sss2&qs3=sss3#Services http://google.com/test/subPage?qs1=sss1&qs2=sss2&qs3=sss3#Services ftp://google.com/test/subPage?qs1=sss1&qs2=sss2&qs3=sss3#Services www.google.com.tr/test/subPage?qs1=sss1&qs2=sss2&qs3=sss3#Services www.google.com/test/subPage?qs1=sss1&qs2=sss2&qs3=sss3#Services drive.google.com/test/subPage?qs1=sss1&qs2=sss2&qs3=sss3#Services https://www.example.pl http://www.example.com www.example.pl example.com http://blog.example.com http://www.example.com/product http://www.example.com/products?id=1&page=2 http://www.example.com#up http://255.255.255.255 255.255.255.255