I\'m having a tough time getting this to work. I have a string like:
((a and b) and not (c and d)) or ((e and f and h) and not (c and d)) or ((h and i) and not (k and d))