( ( this OR that ) AND other ) #### while (statement) { regex to match for inner paren's perform true/false test break out if failed and say so search/replace found regex in statement to nothing } if we get through without any failures, must mean pass