- or download this
while (<DATA>) {
my @urls = ( $_ =~ /(https?\:\/\/.*?\.foo\.com)/g);
...
http://smtp.foo.com https://www.foo.com/?(bunch-of-stuff):{}https://sv
+n.foo.com/docs
https://yahoo.de/?search:{width}-https://www.foo.com
https://google.com https://foo.com:(More-random-stuff)https://yahoo.de
+::http://pubdocs.foo.com/top/index.html
- or download this
http://www.foo.com
http://smtp.foo.com
...
https://www.foo.com
https://foo.com
http://pubdocs.foo.com
- or download this
/(https?\:\/\/(?!http.)*?\.foo\.com)/g