日期:2014-05-17 浏览次数:20580 次
$s = 'afsdffsdf9.20sdfsfsdf99sdfsdf14575dfsf'; preg_match_all('/[\d.]+/', $s, $r); echo join(',', $r[0]);