<?php $string='"WEINSTEIN","ANTONIA \"TOBY"","STILES","HOOPER \"PETER"","HENDERSON",'; $pattern = '/(?<=\S)""/'; $replacement = '\\""'; $result=preg_replace($pattern, $replacement, $string); echo $result;
You have javascript disabled. You will not be able to edit any code.