手机
当前位置:查字典教程网 >编程开发 >正则表达式 >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版

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

得到连接和图片的地址 正则

PHP html标签正则替换并可自定义正则规则

55分钟学会正则表达式

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

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

PHP下ereg实现匹配ip的正则

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

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

精品推荐
分类导航