Replace Special Characters
<p>i want to replace escape character(\)in the  path to single \ in js</p>

<pre><code>\\cpmp1\D$\\ABC\\XYZ
</code></pre>

<p>i tried </p>

<pre><code>console.log(s.replace(/.\\\\/g, '\\'));
</code></pre>

<p>but it does not do any replace ?Any ideas ?</p>
