Remove the Text in C#.net
<p>I have a string like, </p>

<pre><code>string str;

str = "This is my new string. "&lt;script&gt;" Hi this is XYZ "&lt;/script&gt;"";
</code></pre>

<p>Now I want to remove the text, from <code>"&lt;script&gt;"</code> to <code>"&lt;/script&gt;"</code> including the  tags by using C#.net code.</p>

<p>Thanks,</p>
