会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
netlock
代码的搬运工
博客园
首页
新随笔
联系
订阅
管理
2020年11月3日
JS C# 正则表达式去除html字符中所有的标签(img em标签除外)
摘要: js去除em标签 $(this).html().replace(/<(?!em|\/em).*?>/g, '') C#去除 System.Text.RegularExpressions.Regex.Replace(hit.Source.Content.HtmlDecode(), "<(?!em|/e
阅读全文
posted @ 2020-11-03 16:06 netlock
阅读(664)
评论(0)
推荐(0)
公告