I have this string:
TABLEXY1((INITIALPARAM2*117.3/MADAD(2)),INITIALPARAM1+1)*PARAM2/100*(TABLE12(INITIALPARAM3)*PARAM3-(TABLE12(INITIALPARAM4)*PARAM4))"
i need to be able to get the TABLEXY1 with it values in the parentheses. the posibble values in there are:
(number)
(expression)
(number,number)
(number,expression)
(expression,expression)
(expression,number)
i don't know how many parentheses to expect.
I have tried
TABLEXY1\(((?<=\()(.*?)(?=\)))\)
but it gave me
TABLEXY1((INITIALPARAM2*117.3/MADAD(2)
and not what i needed
TABLEXY1((INITIALPARAM2*117.3/MADAD(2)),INITIALPARAM1+1)