How can I use jQuery to remove more than one string from HTML?
<p>I have this jQuery to remove the first option group:</p>

<pre><code>var topicSelectHtml = $('#TopicID')
    .clone()
    .find("optgroup:first")
    .remove().end().html();
</code></pre>

<p>From the following HTML:</p>

<pre><code>&lt;select name="TopicID" id="TopicID"&gt;
   &lt;optgroup label="Admin"&gt;
      &lt;option value="0000"&gt;All Topics&lt;/option&gt;
   &lt;/optgroup&gt;
   &lt;optgroup label="AA"&gt;
      &lt;option value="05**"&gt;a&lt;/option&gt;
      &lt;option value="0505"&gt;b&lt;/option&gt;
      &lt;option value="0510"&gt;c&lt;/option&gt;
   &lt;/optgroup&gt;
   &lt;optgroup label="BB"&gt;
      &lt;option value="10**"&gt;d&lt;/option&gt;
      &lt;option value="1005"&gt;e&lt;/option&gt;
   &lt;/optgroup&gt;
&lt;/select&gt;
</code></pre>

<p>Is there a way I can also make it so the options that have a value ending in "**" are also removed?</p>
