正则表达式函数积累

preg_replace

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

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

 

原文地址:https://www.cnblogs.com/perseverancevictory/p/4257114.html