how can i replace all links with nothing?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • luke noob
    New Member
    • Aug 2009
    • 69

    #1

    how can i replace all links with nothing?

    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? :)
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    You could probably use a regexp search and replace

    Comment

    Working...