【java】java中替换中括号[ ]操作

String aa ="[1,2,3]";
aa = aa.replaceAll("[\[\]]","");

结果为 1,2,3
原文地址:https://www.cnblogs.com/sxdcgaq8080/p/9365782.html