最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
asp 去除所有html标签正则表达式
时间:2022-07-02 23:08:50 编辑:袖梨 来源:一聚教程网
Function RemoveSpan(byval strContent)
Dim objReg ,strTmp
If strContent="" OR ISNull(strContent) Then Exit Function
Set objReg=new RegExp
objReg.IgnoreCase =True
objReg.Global=True
objReg.Pattern="]*)>|"
strTmp=objReg.Replace(strContent, "")
Set objReg=Nothing
RemoveSpan=strTmp
strTmp=""
End Function
Function RemoveHtml(byval strContent)
Dim objReg ,strTmp
If strContent="" OR ISNull(strContent) Then Exit Function
Set objReg=new RegExp
objReg.IgnoreCase =True
objReg.Global=True
objReg.Pattern="<(.[^>]*)>"
strTmp=objReg.Replace(strContent, "|")
Set objReg=Nothing
RemoveHtml=strTmp
strTmp=""
End Function
相关文章
- 原神大伟丘在哪里-原神大伟丘位置 07-02
- photoshop将普通照片制作成超赞的仿线描效果教程 07-02
- 部落冲突荣耀加冕怎么打-部落冲突荣耀加冕活动攻略 07-02
- 阴阳师2025年残局得胜怎么打-阴阳师残局得胜攻略 07-02
- BDB Coin(BDB币)挖矿的原理 07-02
- Botanix L2主网上线,将比特币区块时间缩短至5秒 07-02