simplify regex