日期:2014-05-17 浏览次数:20448 次
$reg = "/(\d{2})\/(\d{2})\/(\d{4})/e"; $text = '01/25/2009到02/02/2009'; $replace = "\${3},\${1}"; echo preg_replace($reg, $replace, $text);