preg_match_all('/(\b[0-9]+)/',"This is -44 55433 example",$amatches);
This will grab all numbers, however how would I exclude anything with a minus in front of it like -44.
Thanks
Aucun commentaire:
Enregistrer un commentaire