parsing - How to return numbers in a string file (txt)? -
i want parse txt file information. want is, find numbers in string mean want sub return first number (as many digits number ) after second 1 , third 1 etc. possible?
$string = preg_replace('/\d/', ' ', $string);
$numberarray = explode(' ',$string);
Comments
Post a Comment