首页 > 解决方案 > 我是否为标签使用了不正确的正则表达式字符串?

问题描述

标签: phpregex

解决方案


If you want to just remove all the <u> tags, a simple

preg_replace('~</?u>~', '', $content);

will do the job.


推荐阅读