首页 > 技术文章 > 问题:smarty模板变量修饰函数regex_replace 替换中文问题?

feng12345 2016-05-05 10:54 原文

显示:{$str|regex_replace:"/[\x4E00-\x9fa5]+/":"aaaaaa"}<br/>

推荐阅读