PHP - Trim string containing <a href=
<p>I need a way of taking a string that contains <code>&lt;a href="url"&gt;something&lt;/a&gt;</code> and remove it completely from the string.</p>

<p>So,</p>

<pre><code>$text = 'Something string &lt;a href="url"&gt;something&lt;/a&gt; some more string';
</code></pre>

<p>Any ideas?</p>
