title: Jquery- backslash character
body: <p>I am having a problem trying to replace the backslash character from a string:</p>
  
  <pre><code>var g = myReadString;
  g = g.replace("\", "\\\\");
  </code></pre>
  
  <p>it is giving an error of unrecognized character.</p>
  
  <p>How could a simple <code>\</code> be replaced  with four <code>\\\\</code>?</p>
  
  <p>I would appreciate any help,
  thanks.
  Pandy</p>