title: Nokogiri, How to remove unnecessary html content?
body: <p>I have an issue with nokogiri. Let say I have this HTML</p>
  
  <pre><code>&lt;html&gt; 
  &lt;p&gt;
          This is just an example, how to remove the next sentence using nokogiri in Ruby.
          Thank you for your help.
          &lt;strong&gt; XXXX &lt;/strong&gt;
              &lt;br/&gt; 
              &lt;br /&gt;
          I want to remove all the HTML after the strong XXXX
              &lt;br /&gt;
              &lt;br /&gt;
          &lt;strong&gt; YYY &lt;/strong&gt;
  &lt;/p&gt;
  </code></pre>
  
  <p></p>
  
  <p>How can I just get <code>"This is just an example, how to remove the next sentence using nokogiri ... Thank you for your help."</code>? I don't want to include the HTML from <code>&lt;strong&gt; XXXX</code> till rest of it.</p>