Im faily new to regex and want to know if you can specify a start and end.
For example I have a statment:-
((x=1) AND ((X=3)OR(x=4)))
What I want to do is break it up into its 2 elements:-
And then split the second into its elements:-
I also want to find out what's in-between each of the statements eg OR or AND
Is this even possible using regex?