Hello i have a string Team and members but members are in [ ] and I need to replace [ and ] with , so I can split the long thingy. When I try to write
liss.toString().replaceAll("[" , ",");
i get this error : Exception in thread "AWT-EventQueue-0" java.util.regex.PatternSyntaxException: Unclosed character class near index 0
[
Anyone maybe knows how can I replace "[" and "]" with ","?