I am trying to read a file with the following structure:
a{a,a,a,a,a,a,a,a,a,a,a,a},b{a,a,a,,a,a,a,a,a,a,a},c[c,c,c,c,c,,,,c,c,c,c]
I tried to do it with regular expressions and with split but nothing I could not achieve. Can someone help me with this?