[ad_1]
Do you mean by this:
String newStr = str.replaceAll("\\[.*?\\] ?", "");
1
[ad_2]
solved Search for a string and assign the ones it is not in the braced brace to a new string
[ad_1]
Do you mean by this:
String newStr = str.replaceAll("\\[.*?\\] ?", "");
1
[ad_2]
solved Search for a string and assign the ones it is not in the braced brace to a new string