title: How can I remove a link and its text from a block of HTML?
body: <p>Say I have the following text</p>
  
  <p>..(event description content).............
  ...(event description content)............</p>
  
  <pre><code>&lt;A HREF="http://event.com/content" &gt; blah blah blah &lt;/A&gt;
  </code></pre>
  
  <p>This text is displayed from a mysql query. This text is used in two places, one where it talks about the event and has a link to register. Then I'd like to reuse this same text, but without the registration link ON the registration page itself for content. I want to delete the link, tag and the text in between. I've seen the strip_tags() function, but that keeps the text in between.</p>
  
  <p>Much thanks</p>