regex - PHP extract numbers from a string - Regular expressions -


i've string this:

$mystring = '1,2,3,4,8,23,433,1234'; 

and need extract numbers in array without commas, how can this?

use explode(). see documentation http://de3.php.net/explode


Comments