Removing link tags and inner html from generated content
<p>I have a block of text in a template file called by php 
<strong>using the following code:</strong></p>

<pre><code>echo $playlist-&gt;description
</code></pre>

<p>the field contains html links that I would like to remove when the results of that field are displayed as content within a tweetbox created using the twitter api. </p>

<p><strong>Example of displayed text:</strong></p>

<pre><code>&lt;a href="http://google.com"&gt;http://google.com&lt;/a&gt; some text here.
</code></pre>

<p><strong>I'm looking to achieve the following result:</strong></p>

<pre><code>some text here
</code></pre>

<p>I've looked into accomplishing this with regex, <code>preg_replace</code>, and a few others. However, I have yet to figure out how to incorperate into my existing string.</p>

<p><strong>I've tried the following with no success,</strong> </p>

<pre><code>echo $playlist-&gt;description-&gt;$str = preg_replace('#(&lt;a.*?&gt;).*?(&lt;/a&gt;)#', '$1$2', $str)
</code></pre>

<p>I am a self proclaimed php noob and I've spent a few weeks on trying to accomplish my objective, so any help is greatly appreciated. I feel like I'm real close! HELP!!! :) </p>

<p>Best Regards,
Mike</p>
