I try to remove “+” in the String str with this code:
str.replaceAll(“+”, “”);
it shows error:
org.apache.jasper.JasperException: java.util.regex.PatternSyntaxException: Dangling meta character ‘+’ near index 0
I try to remove “+” in the String str with this code:
str.replaceAll(“+”, “”);
it shows error:
org.apache.jasper.JasperException: java.util.regex.PatternSyntaxException: Dangling meta character ‘+’ near index 0