I am trying to remove all links using reg exp, how would I go about doing that?

If I pull up a page using curl, and it outputs just fine, but shows hyperlinks with the wrong links, after curl, I want to be able to search all the hyperlinks in the output and just completely remove the hyperlinks.

Anyone help?

    I figured it out, I had to use preg_replace than preg_match_all

      Write a Reply...