Use the following regex
str= str.replaceAll("\((.+)\)", "");
2
solved Java regular expression : how to get rid of text inside ()? [duplicate]
Use the following regex
str= str.replaceAll("\((.+)\)", "");
2
solved Java regular expression : how to get rid of text inside ()? [duplicate]