kumar801012 has asked for the wisdom of the Perl Monks concerning the following question:
a href="http://www.yahoo.com" target=_blank>
</anchor>
I was wondering if any one can help me out with a regexp to parse all the anchor tags and if the href matches my target url, then return anchor text if exists or "image" if there is a img tag.
Thanks in advance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: anchor text match
by JadeNB (Chaplain) on Dec 27, 2009 at 21:06 UTC | |
by kumar801012 (Initiate) on Dec 30, 2009 at 17:35 UTC | |
by ww (Archbishop) on Dec 30, 2009 at 19:21 UTC | |
by kumar801012 (Initiate) on Dec 30, 2009 at 20:57 UTC | |
by JadeNB (Chaplain) on Dec 30, 2009 at 21:08 UTC | |
| |
|
Re: anchor text match
by Anonymous Monk on Dec 27, 2009 at 19:14 UTC | |
by Anonymous Monk on Dec 27, 2009 at 19:28 UTC | |
by kumar801012 (Initiate) on Dec 28, 2009 at 22:28 UTC |