Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The link could be in several formats. I won't know until run time. Here are a couple of possibilities...
<a href="http://www.foo.com">description</a> <a href='http://www.foo.com'>image here</a>
I will need to parse and return foo.com
I really stink with reg ex's :-(
Thanks Monks!!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: how do i split a link
by gav^ (Curate) on Apr 13, 2002 at 17:09 UTC | |
by crazyinsomniac (Prior) on Apr 14, 2002 at 10:16 UTC | |
by gav^ (Curate) on Apr 14, 2002 at 19:44 UTC | |
Re: how do i split a link
by cjf (Parson) on Apr 13, 2002 at 16:55 UTC | |
Re: how do i split a link
by Amoe (Friar) on Apr 13, 2002 at 18:08 UTC |