<?php $str = 'a,b\,c,d'; var_dump(preg_split('/(?:[^\x5c]|\A)(?:\x5c.)*\K,/s', $str));
You have javascript disabled. You will not be able to edit any code.