in reply to
extract URLs from text
Regex to find URLs in a string
may be the place to start. As for putting things in an array, I'm sure that is easier done than said.
Comment on
Re: extract URLs from text
In Section
Seekers of Perl Wisdom