title: remove all content inside script tags
body: <p>I have a string like</p>
  
  <pre><code>$result = '
    stuff
    stuff
    &lt;script&gt;
      stuff I want to remove
    &lt;/script&gt;
    morestuff
    morestuff
  ';
  </code></pre>
  
  <p>I want to remove everything between the script tags and the script tags themselves</p>
  
  <p>I have so far</p>
  
  <pre><code>$result = preg_replace("/&lt;script&gt;.+?&lt;\/script&gt;/i", "", $result)
  </code></pre>
  
  <p>however it is not working</p>