$str = "a891b120adq2031a012";
$num = preg_replace("/[^0-9]*/s", "", $str); 

결과
8911202031012

+ Recent posts