手机
当前位置:查字典教程网 >编程开发 >正则表达式 >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下替换非数字为空的正则】相关文章:

如何快速学习正则表达式

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

vbs:把一段文字中指定字符颜色变成红色的正则

javascript下一个还原html代码的正则

判断时间的正则表达式

php下常用表单验证的正则表达式

写出高效率的正则表达式技巧总结

一个不错的正则

精通 JavaScript中的正则表达式手机整理 推荐

javascript下正则匹配百分比的代码

精品推荐
分类导航