title: Change html code on server side asp.net
body: <p>I want to change some string located in html file when it loads. For example, i have a html file:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;MyTitle&lt;/title&gt;&lt;/head&gt;
  &lt;body&gt;
  Some Text
  &lt;script type='text/javascript'&gt;
  /*some script*/
  var myString = "TargerInfo";
  /*some script*/
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I use <code>Page_Load</code> method in code-behind file:</p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e)
  {
  /*Insert necessary snippet of code*/
  }
  </code></pre>
  
  <p>What code should i use to change string "TargerInfo" to "OtherString" ?</p>
  
  <p><strong>[EDIT]</strong>
  Sorry, that I have forgot to mention
  I can add any info to html page only in code-behind class, because this page isn't  generated by me. 
  I think i should use something like this: </p>
  
  <p>1) load html file</p>
  
  <p>2) find my string</p>
  
  <p>3) replace it</p>
  
  <p>4) send html file </p>
  
  <p>There is an aspx page, but i add only some part of code and other code is added by VS</p>