正则表达式函数积累

preg_replace

mixed preg_replace ( mixed $pattern , mixed $replacement , mixed $subject [, int $limit = -1 [, int &$count ]] )

搜索subject中匹配pattern(模式)的部分, 以replacement进行替换。

 

posted @ 2015-01-28 21:13  选择了就坚持  阅读(179)  评论(0)    收藏  举报