(or|and|(?:(?P<case1namE>)\() ?|) ?\w*(\.)?colz( like| ?\=) ?\?(?:(?P=case1namE) OR)?( and)?
in this case if (
is found before the expression then OR
will be captured at the end of the expression(if found)
IMPORTANT: group name is case sensitive
//see code for real example