SyntaxFix
Write A Post
Hire A Developer
Questions
You can remove single char as follows:
String str="+919595354336"; String result = str.replaceAll("\\\\+",""); System.out.println(result);
OUTPUT:
919595354336