我想从我的java String中删除[,],(和).我试过了.replaceAll("(", "");,.replaceAll("[", "");但它没有用.在我的程序中,str是从文件中读取的.
.replaceAll("(", "");
.replaceAll("[", "");
String str = "I [need] this ]message () without (this[])";
java string replace
java ×1
replace ×1
string ×1