How can I replace a class with another using jQuery?
<p>What jquery can I use to change the class that's used in the following from indent_1 to indent_2 or indent_4 to indent_2? I know about remove class but how can I do that when the classes are names that vary?</p>

<pre><code>&lt;div class="rep_td0 indent_1" id="title_1"&gt;Menu two&lt;/div&gt; 
or 
&lt;div class="rep_td0 indent_4" id="title_1"&gt;Menu two&lt;/div&gt;
</code></pre>
