title: PHP regex: Selectively strip text between HTML tags
body: <p>I'm adding schema (description) to our product pages, all of which are dynamically generated, so I'm looking to add a good general purpose regular expression to properly format said description.</p>
  
  <p>So here's what I'm currently working with (spaced a little oddly for ease of reading):</p>
  
  <pre><code>&lt;meta itemprop="description" content="
      &lt;?php 
          $original_desc = $_product-&gt;getShortDescription();
          $schema_desc = preg_replace('Rocking REGEX theoretically goes here','$1 $2', $original_desc);
          strip_tags($schema_desc);
          echo $schema_desc; 
      ?&gt;
  "&gt;
  </code></pre>
  
  <p>Problem is, our product descriptions are being pulled from the admin of our CMS, so the formatting is a little squirrelly.</p>
  
  <p>Here's what they look like:</p>
  
  <pre><code> content="&lt;p&gt;&lt;strong&gt;Product Title&lt;/strong&gt; - Other Product Name - &lt;em&gt;Blah Blah&lt;/em&gt;&lt;/p&gt;
   &lt;p&gt;&lt;strong&gt;Product Heading 1&lt;/strong&gt; &lt;/p&gt;
   &lt;p&gt;&lt;strong&gt;Product Heading 2:&lt;/strong&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vulputate pellentesque sem, id mattis sem blandit at. 
      Suspendisse tempus sodales enim nec aliquam. Vestibulum laoreet tincidunt dui, sit amet laoreet ipsum gravida at. Nulla in tempus justo, 
      et bibendum dolor.&lt;/p&gt;
      &lt;p&gt;&lt;strong&gt;Product Heading 3:&lt;/strong&gt; Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vulputate pellentesque 
      sem, id mattis sem blandit at. Suspendisse tempus sodales enim nec aliquam. Vestibulum laoreet tincidunt dui, sit amet laoreet ipsum gravida at. 
      Nulla in tempus justo, et bibendum dolor.&lt;/p&gt;"
  </code></pre>
  
  <p>So here's what I want to do - I want to KEEP the text between the first two <code>&lt;strong&gt;&lt;/strong&gt;</code> tags because that's the product category/title, but all the subsequent text between <code>&lt;strong&gt;&lt;/strong&gt;</code> tags are simply headings that have no usefulness in a search description, so I'd like to remove it. I've found ways to say, strip ALL the text from between ALL the <code>&lt;strong&gt;&lt;/strong&gt;</code> tags, but not all but the first.</p>
  
  <p>Thanks!</p>