最新下载
热门教程
- 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)就可以了,这样用起来就方便多了 |
相关文章
- 少年三国志怎么上竞拍 04-26
- 比特派官网下载最新版 04-26
- 比特币钱包客户端官网下载2024版 04-26
- usdt钱包苹果官方版 04-26
- gopay支付平台安卓版2024 04-26
- usdt钱包官方下载苹果版 04-26