I have this code :
buffer = buffer.replaceAll("(","");
That is returning java.util.regex.PatternSyntaxException I don't know why.
Help, please.
I have this code :
buffer = buffer.replaceAll("(","");
That is returning java.util.regex.PatternSyntaxException I don't know why.
Help, please.
Replace
replaceAll("(","")withreplaceAll("\\(", "").(is a special character, you should paste\\before each of\.[]{}()*+-?^$|."sta(c(k(overfl(ow".replaceAll("\\(", "") -> "stackoverflow"