converter simplify regex