I use preg_split as the following:
I ex
You can also use T-Regx tool and you won't have such problems :)
Delimiters are not required
split($num); print_r($segments);