110,539
社区成员
发帖
与我相关
我的任务
分享
string input= "[1557911689,2,[733508,-289,851,911,733507,[3,5,8,1,2,4,6,10,9,7],{'cl':[[11,4,3],[8,4,3],[9,3,3],[2,6,2],[2,2,2],[3,1,2],[3,4,2],[4,2,2],[4,3,2],[5,4,2],[6,2,2],[9,1,2],[10,1,2],[10,3,2],[11,2,1],[1,6,1],[1,2,1],[1,3,1],[2,3,1],[3,6,1],[4,6,1],[5,6,1],[5,2,1],[6,4,1],[7,1,1],[7,4,1],[8,1,1],[11,1,0],[11,3,0],[1,5,0],[1,1,0],[1,4,0],[2,5,0],[2,1,0],[2,4,0],[3,5,0],[3,2,0],[3,3,0],[4,5,0],[4,1,0],[4,4,0],[5,5,0],[5,1,0],[5,3,0],[6,1,0],[6,3,0],[7,2,0],[7,3,0],[8,2,0],[8,3,0],[9,2,0],[9,4,0],[10,2,0],[10,4,0]],'zh':[11,12,17,8,10,17,10,9,9,11,16,11,11,10,12,9,10,19,8,14,13,14,12,8]}],[2,{'0':{'11':{'1.983':-1},'21':{'1.983':-1},'31':{'1.99':-1},'12':{'1.983':-1},'22':{'1.983':-1},'32':{'1.99':-1},'13':{'1.983':-1},'23':{'1.983':-1},'33':{'1.99':-1},'14':{'1.983':-1},'24':{'1.983':-1},'34':{'1.99':-1},'15':{'1.983':-1},'25':{'1.983':-1},'35':{'1.99':-1},'16':{'1.983':-1},'26':{'1.983':-1},'17':{'1.983':-1},'27':{'1.983':-1},'18':{'1.983':-1},'28':{'1.983':-1},'19':{'1.983':-1},'29':{'1.983':-1},'20':{'1.983':-1},'30':{'1.983':-1},'36':{'1.98':-1},'37':{'1.98':[0],'2.14':[1]}},'2':0}],[[11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,'100000','100000','100000','100000','100000','100000','100000','100000','100000','100000','100000','100000','100000','100000','100000','100000','100000','100000','100000','100000','100000','100000','100000','100000','100000','100000','100000']],[-604.2,0],9395.82]";
MatchCollection collection = Regex.Matches(input, @"\[\d,{.+?}\]");
foreach(Match m in collection)
{
MessageBox.Show(m.Value.ToString());
}