title: Remove all html tags and javascript tags using regex in javascript
body: <p>How can I remove all html tags and script tags? Please consider also short tags like unclosed tags</p>
  
  <pre><code>&lt;script&gt;blah...&lt;/script&gt;
  &lt;body&gt; aaa&lt;b&gt;bbb&lt;/body&gt;
  </code></pre>
  
  <p>This should return </p>
  
  <pre><code>aaa bbb
  </code></pre>
  
  <p>notice that all the contents inside the script tag is ignored. Can you experts please help me to make this possible? </p>
  
  <p>Thank you!</p>