Check whether link's text is "B" then remove its class?
<p>I want to check whether an <code>a</code> node contains the word "B". If so, the node's <code>someclass</code> class should be removed.</p>

<p>For example:</p>

<pre><code>&lt;a href="http://link.com" class="someclass"&gt;B&lt;/a&gt;
</code></pre>
