split function replace on preg_split