最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
asp中正则表达式过滤html代码函数
时间:2022-06-30 10:50:41 编辑:袖梨 来源:一聚教程网
代码如下 | 复制代码 |
<% Function stripHTML(strHTML) Dim objRegExp, strOutput objRegExp.IgnoreCase = True 'Replace all HTML tag matches with the empty string 'Replace all < and > with < and > stripHTML = strOutput 'Return the value of strOutput Set objRegExp = Nothing |
使用方法
代码如下 | 复制代码 |
stripHTML(strhtml)就可以了,这样用起来就方便多了 |
相关文章
- 伊瑟月塔30层莎朗打法教学 09-18
- 原神5星命座免费获取方法 09-18
- 零度曙光弓箭流派搭配推荐 09-18
- 王者荣耀亚瑟荣光之誓获取攻略 09-18
- 无限暖暖音乐季隐藏任务闪闪的愿望攻略一览 09-18
- 对决剑之川功法获取方法 09-18