Simplify regex.