title: Extract script tags from a HTML string
body: <p>Or any other tags :)</p>
  
  <p>for eg.</p>
  
  <pre><code>  &lt;head&gt;
      &lt;title&gt;page...&lt;/title&gt;
      &lt;script&gt; var a = 'abc'; &lt;/script&gt;
      &lt;script src="foo.js" type="text/javascript"&gt;&lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
      ...
      &lt;script src="foo2.js"&gt;&lt;/script&gt;
    &lt;/body&gt;
  </code></pre>
  
  <p>(this string is a response from a ajax call)</p>
  
  <p>I want to get a array with 3 strings:</p>
  
  <ol>
  <li><code>&lt;script&gt; var a = 'abc'; &lt;/script&gt;</code></li>
  <li><code>&lt;script src="foo.js" type="text/javascript"&gt;&lt;/script&gt;</code></li>
  <li><code>&lt;script src="foo2.js"&gt;&lt;/script&gt;</code></li>
  </ol>
  
  <p>How can I do that?</p>