JavaScript remove all content between some tags
<p>I'd like to remove all content between two tags using JavaScript only (without jQuery or something similar). Also I can't modify content I want to delete.</p>

<p>For example for the code below:</p>

<pre><code>&lt;body&gt;
&lt;p&gt;Remove me&lt;/p&gt;
&lt;a href="#"&gt;Me too&lt;/p&gt;
&lt;img src="But don't me!"/&gt;
(...)
</code></pre>

<p>I want to delete everything between <code>&lt;body&gt;</code> and <code>&lt;img/&gt;</code>.</p>
