<?php $string = '1|2\|2|3\\|4\\\|4'; $array = preg_split('~\\\\.(*SKIP)(*FAIL)|\|~s', $string); print_r($array);
You have javascript disabled. You will not be able to edit any code.