However, if you are curious and want to see a single regex to match all those chars, it's this:
String s = "A,B.C!D E\"F'G?H(I)J";
String s2 = s.replaceAll("[,.! \"'?()]", "");
...
Type: Posts; User: andbin
However, if you are curious and want to see a single regex to match all those chars, it's this:
String s = "A,B.C!D E\"F'G?H(I)J";
String s2 = s.replaceAll("[,.! \"'?()]", "");
...
Sorry if I repeat myself, but it seems you don't have even basic knowledges on regexs, so my suggestion is to use replace instead of replaceAll.
replaceAll works with a regular expression and in regexs '?', '(' and ')' are special characters with a specific meaning.
It seems you are not interested in regexs, so use replace(CharSequence...