title: How can I check if a html document includes script tags that are not empty using a regular expression
body: <p>I am trying to check if a html document includes script tags that are not empty using regular expressions. The regular expression should match any script tag with a content other than whitespaces or linebreaks.</p>
  
  <p>I have tried </p>
  
  <pre><code>&lt;script\b[^&gt;]*&gt;[^.+$]&lt;/script&gt;
  </code></pre>
  
  <p>but this regex only finds script tags with one space.</p>