title: String.replace in javascript for back slash
body: <p>Friends,
  This is my String. I need to replace the string with some special characters. </p>
  
  <p>Input:<br>
   <code>'{"country":["US"],"state":["TX"],"Brands":["brd1"," brd12"]}'</code></p>
  
  <p>And Output String should be this: <br>
  <code>"country"=\'US\',"state"=\'TX\',"Brands"=\'brd1, bd2\'</code></p>
  
  <p>I am not able to replace the string with a <code>'\'</code> (back slash).</p>
  
  <p>Can anyone help me with the fix?</p>
  
  <p>Regards
  Giri</p>