I have string
str = "Value((10 20,30 40),(50 60,70 80,90 100))"
What should be the regular expression to get the value in the following format :
option 1:
strArray[0] = 10 20 , 30 40;
strArray[1] = 50 60 , 70 80 , 90 100;
option 2
strArray[0][0] = 10 20
strArray[0][1] = 30 40
strArray[1][0] = 50 60
strArray[1][1] = 70 80
strArray[1][2] = 90 100
Try something like