remove specific html tag with its content by js
<p>here is my html codes where I want to change.</p>

<pre><code>&lt;table&gt;
    [some table row]
    &lt;tr class="high"&gt;
        some text
    &lt;/tr&gt;
    [many more table row]
&lt;/table&gt;
</code></pre>

<p>now I want to remove the following  tag with its class and inner contents.
is there any way to remove it using replace command like "replace(/pattern/, '')".</p>

<p>please write a little details about how you write the patterns.</p>
