Simplification of Conditions based on new regular expressions.