手机
当前位置:查字典教程网 >编程开发 >正则表达式 >asp下替换非数字为空的正则
asp下替换非数字为空的正则
摘要:functionreplacestr(str)dimresetre=newregexpre.ignorecase=truere.global...

functionreplacestr(str)

dimre

setre=newregexp

re.ignorecase=true

re.global=true

re.pattern="D"

str=re.replace(str,"")

replacestr=str

setre=nothing

endfunction

【asp下替换非数字为空的正则】相关文章:

[a] 1 [/a]转换为网址的UBB的正则

[js]一个只删除所有font标签的正则函数

php中常用的正则表达式的介绍及应用实例代码

一个不错的正则

数据库中使用正则表达式小结

临时记录:一个正则

[asp]匹配网址的正则

一个非常不错的一个正则练习JS版

正则表达式链接替换函数的技巧

检测八位数字是否为有效日期的正则

精品推荐
分类导航