Negative lookahead solution for #6