I want to remove all type of brackets character (example: [],(),{}) in string by using java.
I am doing it like this :
String test = "watching tv (at home)";
test = test.replaceAll("(","");
test = test.replaceAll(")","");
But its not working . Suggest me a solution please.
Anonymous User
08-Dec-2015