replace split by preg_split