I have a Java String which has a Condition in it like ((#a==1 && #b==2 || #c==3) && (#d==4)). I want to take NOT (!) of this string.
Input String: (
(