title: Find and replace an element's class using jQuery
body: <p>The platform that I'm currently using does not allow me to change much of the HTML that's been designed, so to get around this, I need to use JQuery to find and replace a div with another div (or perhaps in simpler terms (incase I'm getting something wrong here), find text in the HTML and replace it with other text).</p>
  
  <p>So, the original is:</p>
  
  <pre><code>&lt;div class="title-desc-wrapper has-main-image" data-content-field="main-image"&gt;
  </code></pre>
  
  <p>I need it to be replaced with:</p>
  
  <pre><code>&lt;div class="title-desc-wrapper no-main-image" data-content-field="main-image"&gt;
  </code></pre>
  
  <p>If anyone has any insight into how to do this, or could show me how, I would greatly appreciate it.</p>