⭐ in reply to How do you extract the server from a URL?
use Regexp::Common; my $url = 'http://www.perlmonks.org/index.pl'; print $3 if $url =~ /$RE{URI}{HTTP}{-keep}/; [download]
Abigail