added replacement escaping for the delimiter value