title: How do I extract text under a specific header which starts with a certain set of words
body: <p>I am trying to scrape text in an H2 tag under a header which starts with &quot;benefits of&quot; ...so it could be like &quot;benefits of toys&quot; or &quot;benefits of cups&quot; etc.</p>
  <p>The html code is:</p>
  <pre><code>&lt;h2 class=&quot;DrugOverview__title___1OwgG&quot;&gt;Benefits of Toys&lt;/h2&gt;
  </code></pre>
  <p>The code I've used until now is</p>
  <pre><code>        benfit = soup.find('h2',text='Benefits of')
          q = benefit.get_text(strip=True)
  </code></pre>
  <p>How do I solve it?
  Also keep in mind the h2 class cant be used to scrape in this situation(due to other issues).</p>