PHP extracts the numbers in a string
[code]function findNum ($str='') {
$str=trim ($str);
if (empty ($str)); Empty ($result).Amp;.Amp; empty ($result.#91; 1.#93).Amp;.Amp; empty ($result.#91; 1.#93; 1.#93). '';}
$temp=array ('1','2','3','4','5','6','7','8','9','0'). FindNum ($str='') {
$str=trim ($str);
if (empty ($str)) {return';}
$result=''.