最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
ASP:去掉字符串中的超连接
时间:2022-07-02 23:20:26 编辑:袖梨 来源:一聚教程网
2222
44444
想得到的结果是:
11111
2222
3333
4444
<%
Function regExReplace(sSource,patrn, replStr)
Dim regEx, str1
str1 = sSource
Set regEx = New RegExp
regEx.Pattern = patrn
regEx.IgnoreCase = True
regEx.Global = True
regExReplace = regEx.Replace(str1, replStr)
End Function
dim c1,c2
c1="
2222
44444
"c2=regExReplace(c1,"
response.Write(c2)
%>
相关文章
- 无限暖暖音乐季她的回旋我的向往任务怎么过 她的回旋我的向往任务攻略 09-18
- 新三国志曹操传南华幻境天境9-2怎么过 南华幻境天境9-2过关攻略 09-18
- 火环维吉尔技能是什么 维吉尔技能介绍 09-18
- 发条总动员金币怎么获取 金币获取攻略 09-18
- 不朽箴言雅典娜怎么培养 雅典娜养成攻略 09-18
- 光隙解语新手十连抽怎么选 新手十连抽角色推荐 09-18