Remove escape chara ' \' from string in java
<p>I have to remove <code>\</code> from the string.</p>

<p>My String is <code>"SEPIMOCO EUROPE\119"</code></p>

<p>I tried <code>replace</code>, <code>indexOf</code>, <code>Pattern</code> but I am not able to remove this <code>\</code> from this string</p>

<pre><code>String strconst="SEPIMOCO EUROPE\119";
System.out.println(strconst.replace("\\", " ")); // Gives SEPIMOCO EUROPE 9
System.out.println(strconst.replace("\\\\", " ")); // Gives SEPIMOCO EUROPE 9
System.out.println(strconst.indexOf("\\",0));  //Gives -1
</code></pre>

<p>Any solutions for this ?</p>
