title: How do I remove a tag and add a class?
body: <p>I am trying to remove the <code>&lt;strong&gt;</code> tag and add a class to every paragraph with a <code>&lt;strong&gt;</code> tag in it.</p>
  <p>I need to be able to convert:</p>
  <pre><code>&lt;p&gt;&lt;strong&gt;My ordinary sentence&lt;/strong&gt;&lt;/p&gt;
  </code></pre>
  <p>To:</p>
  <pre><code>&lt;p class=&quot;section-head&quot;&gt;My ordinary sentence&lt;/p&gt;
  </code></pre>
  <p>I have tried the following but it is missing some key ingredients</p>
  <pre><code>&lt;script&gt;
      $( document ).ready(function() {
      $('.main &gt; p &gt; strong').parent().addClass('section-header');
      $('.main &gt; p').innerHTML.replace(/&lt;strong&gt;/g, '');
      $('.main &gt; p').innerHTML.replace(/&lt;\/strong&gt;/g, '');
     )};
  &lt;/script&gt;
  </code></pre>
  <p>How do I fix this?</p>