I use preg_split as the following:
I ex
You have to add delimiters to your regex like this:
Output:
Array ( [0] => 99 [1] => 14 )
EDIT:
The question why OP got the entire string back in the array is simple! If you read the manual here: http://php.net/manual/en/function.preg-split.php
And take a quick quote from there under notes:
Tip If matching fails, an array with a single element containing the input string will be returned.