最新下载
热门教程
- 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)就可以了,这样用起来就方便多了 |
|
相关文章
- 学科网官网登录入口-中小学教师备课资源下载及组卷中心 01-05
- 罗马仕充电宝召回型号有哪些-罗马仕充电宝召回型号怎么查 01-05
- 四六级报名官网入口-2026四六级报名官网 01-05
- 流放之路2编年史官网入口-流放之路2最新编年史官网直通车 01-05
- 我的世界在线畅玩网页版-我的世界网页版一键入口 01-05
- QQ阅读电脑版在线阅读-QQ阅读网页版畅快看 01-05