I have some content with links all over it...
<a title="somethin g" href="http://www.blarblar.co m/blar">
football</a>
<a href="http://www.differentLi nk.com/123" title="sometEls e">cricket</a>
all links could be in different orders, e.g. a title or a href or a alt etc..
I would like to be able to scan the page deleting the links but leaving the word e.g. football or cricket. (the word inside the link)
FROM
<a href="http://www.differentLi nk.com/123" title="sometEls e">cricket</a>
TO
cricket
Any ideas? :)
<a title="somethin g" href="http://www.blarblar.co m/blar">
football</a>
<a href="http://www.differentLi nk.com/123" title="sometEls e">cricket</a>
all links could be in different orders, e.g. a title or a href or a alt etc..
I would like to be able to scan the page deleting the links but leaving the word e.g. football or cricket. (the word inside the link)
FROM
<a href="http://www.differentLi nk.com/123" title="sometEls e">cricket</a>
TO
cricket
Any ideas? :)
Comment