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

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -