Simplify regexes