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