以下代码有什么问题?
String selectedCountriesStr = countries.replaceAll("[", "").replaceAll("]", "").trim();
String[] selectedCountriesArr = selectedCountriesStr.split(",");
输入字符串[10000,20000,304050,766666]
得到错误java.util.regex.PatternSyntaxException: Unclosed character class near index 0