Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^6: anchor text matchby kumar801012 (Initiate) |
on Dec 30, 2009 at 21:59 UTC ( [id://814999]=note: print w/replies, xml ) | Need Help?? |
I also tried this:
The out put is : url: http://www.victoriassecret.com/text: Victoria's Secret In case the page had an anchor tag like below: a href="http://www.victoriassecret.com/" target=_blank><img src=http://www.victoriassecret.com/nw.gif height=11 width=11 border=0 alt="Open this result in new window"> </anchor> The above perl script would give :url: http://www.victoriassecret.com/ text: Open this result in new window But the desired result is:url: http://www.victoriassecret.com/ text: IMAGE
In Section
Seekers of Perl Wisdom
|
|