Remove last 3 classes on one element?
<p>I've searched but haven't had much luck.</p>

<p>I'm trying to remove the last 3 classes of this element with jquery and not sure how to do it. </p>

<p>The names of these classes will change based on the results of a quiz so I can't just do a simple .removeClass(x,x,x)</p>

<pre><code>&lt;section class="container books-home alphabet prereading result"&gt;
</code></pre>

<p>thanks!</p>
