title: Visual Studio reports "the following specified text was not found" but only when doing a Replace?
body: <p>I am tying to replace this:</p>
  
  <pre><code>:b:b:b:b:b:b:b:bvoid Page_Load\(\)\n:b:b:b:b:b:b:b:b\{\n:b:b:b:b:b:b:b:b:b:b:b:b
  </code></pre>
  
  <p>by this</p>
  
  <pre><code>:b:b:b:b:b:b:b:bvoid Page_Load\(\)\n:b:b:b:b:b:b:b:b\{\n:b:b:b:b:b:b:b:b:b:b:b:bmyclass.dateclass.activite\(Request.ServerVariables\[\"LOGON_USER\"\].Split\('\\\\'\)\[1\], Request.Url.AbsoluteUri\);\n:b:b:b:b:b:b:b:b:b:b:b:b
  </code></pre>
  
  <p>. I do find the first expression using FIND, but it says that it can't find it when I use REPLACE.</p>
  
  <p>Here is a sample of my code</p>
  
  <pre><code>        //Affichage de la page 
      void Page_Load()
      {
          myclass.dateclass.activite(Request.ServerVariables["LOGON_USER"].Split('\\')[1], Request.Url.AbsoluteUri);
          java.Text = "&lt;script language=\"JavaScript1.2\" type=\"text/javascript\"&gt;var sess = \"" + Session["username"] + "\";var user = \"" + Request.ServerVariables["LOGON_USER"].Replace("\\", "\\\\") + "\";&lt;/script&gt;";
          Session.LCID = 3084; //Utilise des dates en format AAAA-MM-JJ
  </code></pre>