As others have pointed out, you probably want to use String.replacein this case, since you don't need regular expressions.
For reference, however, when used String.replaceAll, the first argument (which is interpreted as a regular expression) should be specified, preferably using Pattern.quote:
String test = "replace()thisquotes";
test = test.replaceAll(Pattern.quote("()"), "");
// ^^^^^^^^^^^^^
System.out.println(test); // prints "replacethisquotes"
source
share