in reply to
Regex Question
use
URI
,
http://search.cpan.org/~gaas/URI-1.37/URI.pm#PARSING_URIs_WITH_REGEXP
Comment on
Re: Regex Question
In Section
Seekers of Perl Wisdom