求救:提取字符串的问题(在线等)
1[7(0,1,2,3)|8(0,1)|9(0,1)|10(0,1)|11(0,1)|]
2[12(0)|13(0)|14(0)|15(0)|16(0,1,2,3)|]
3[17(0,1,2,3)|26(0,1,2,3)|]
5[30(0)|31(0)|]
4[27(0,1,2,3)|28(0,1)|29(0,1,2,3)|]
6[32(0,2)|33(0,2)|]
以上内容是一个字符串
怎么把中括号里面的内容和中括号前面的内容分别提取出来
------解决方案--------------------好猛的正则!