preg_replace — 执行一个正则表达式的搜索和替换 说明: preg_replace ( mixed $pattern , mixed $replacement , mixed $subject [, int $limit = -1 [, int &$count ]] ) : mixed 搜索subject中匹配pattern的部分, 以replacement进行替换 参数: pattern :要搜索的模式.可以使一个字符串或字符串数组. replacement : 用于替换的字符串或…