jQuery select body element from string
<p>I have a string <code>&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;test&lt;/body&gt;&lt;/html&gt;</code> and I'm trying to get just the contents of the body using jQuery.</p>

<p>Ive tried</p>

<pre><code>$('&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;test&lt;/body&gt;&lt;/html&gt;').find('body').html();
</code></pre>

<p>but that doesn't work.</p>

<p>Any ideas on how to do it?</p>

<p>Edit:</p>

<p>In case it wasn't clear, I need to get the body element from a <strong>string</strong>, not the DOM.</p>

<p>Edit 2:</p>

<p>Be aware that the method used needs to not return anything form the <code>head</code> element. Such as inline styles.</p>
