Javascripts to remove text from HTML
<p>I need a script to remove a line of text "Quantity in Stock:(Out of Stock)" from my product pages. The specific HTML code I'm trying to remove is:</p>

<pre><code>&lt;span class="PageText_L329n"&gt;&lt;strong class="prod_qty_label"&gt;
      Quantity in Stock
    &lt;/strong&gt;&lt;/span&gt;
      :
    &lt;span style="color:#cc0000;"&gt;&lt;span class="StockQuantity_OutOfStock"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
</code></pre>

<p>I only have limited knowledge of Javascript, and I know I need to start with something like this:</p>

<pre><code>document.body.innerHTML = document.body.innerHTML.replace('', '');
</code></pre>

<p>But I'm struggling to make it work with having all the HTML markups in the javascript.</p>

<p>On my category pages (different page), I am trying to remove this text from the HTML, which may appear multiple times in the page:</p>

<pre><code>&lt;b&gt;&lt;font color="#CC0000"&gt;
&lt;span class="PageText_L331n"&gt;(Out of Stock)&lt;/span&gt;
&lt;/font&gt;&lt;/b&gt;
</code></pre>

<p>Any help is appreciated.</p>

<p>Thanks.</p>
