0
I have the following situation that can be seen in this link.
The expression is:
/((^|\s)(right|inner|left)\sjoin\s(.*?)on\s(.*?)(?=(inner|right|where)?))+/gmi
I need to get the conditions inside the on
, plus other information that is already being captured.
Someone has a tip?
Can you describe better what the goal is? Are you trying to process SQL code? Perhaps it is better to look for a parser ready than to use regex, they will not be 100%.
– Guilherme Bernal
I need to create a parser, because the ready ones do not fit so much to what I need, but the purpose of this question is that I need to take the amount of conditions and then separate each condition, if I have more than one.
– IgorCarvalho