remove a class from a tag and add it to another
<p>i have following html i cannot edit the html:</p>

<pre><code>&lt;tr&gt;
    &lt;td&gt;
        &lt;font class="text colors_text"&gt;&lt;span class="percarton" style="font-weight: normal;"&gt;&lt;font class="text colors_text"&gt;
                &lt;b&gt;Price Per Carton &lt;/b&gt;&lt;/font&gt;&lt;/span&gt;&lt;span class="csqft_price"&gt;$101.82&lt;/span&gt;&lt;/font&gt;&lt;br&gt;
        &lt;b&gt; &lt;span class="percarton" style="font-weight: normal;"&gt;Members Price 1: &lt;/span&gt;
            &lt;span class="csqft_price"&gt;&lt;font class="pricecolor colors_productprice"&gt;$96.82&lt;br&gt;
            &lt;/font&gt;&lt;/span&gt;&lt;/b&gt;
    &lt;/td&gt;
&lt;/tr&gt;
</code></pre>

<p>Whenever there is members price in html then <code>&lt;span class="csqft_price"&gt;&lt;/span&gt;</code> of the price per carton should get removed and it should get apllied to $96.82 also the <code>&lt;span class="csqft_price"&gt;&lt;/span&gt;</code> before the font tag should get removed . Please advise.</p>
