in reply to Re^2: Extracting a domain name from a url
in thread Extracting a domain name from a url
my $url="http://proxy.aol.com:8080/login"; my($host)=$url=~/http:\/\/([^\/]+)/;
word!
-Ev
Update: Sorry, I'm a moe - I forgot to add the point of this post in my example!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Extracting a domain name from a url
by ikegami (Patriarch) on Oct 16, 2006 at 01:49 UTC |