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