I\'m looking for java regex to split the inputString while ignoring delimiters between brackets/multiple brackets.
Java code:
Pattern p = Pattern.compile
That's not possible using regular expressions.
The expression would have to match strings with balanced brackets. (Which is not a regular language.)
You need to use some other parsing technique or do it manually by counting { and }.
{
}