updated regex substitution in pipeline datasink