这样难道不对吗
$pattern = '/(\w+)+(.)(\w+)/'; $replacement = ' $1$2$3 ' ; echo preg_replace($pattern, $replacement, $str); 输出一样,为什么不给过呢
$pattern = '/(\w+)+(.)(\w+)/'; $replacement = ' $1$2$3 ' ; echo preg_replace($pattern, $replacement, $str); 输出一样,为什么不给过呢
2015-01-31
举报