Get element from string
<p>I have a large string in a variable that includes a whole bunch of HTML tags.</p>

<p>I want to get the value of a hidden input field within the string and store it in its own var.</p>

<pre><code>&lt;input type="hidden" value="WantThis" /&gt;
</code></pre>

<p>Can anyone help me out at all?</p>
