当前位置: 移动技术网 > IT编程>开发语言>正则 > asp下替换非数字为空的正则

asp下替换非数字为空的正则

2017年12月12日  | 移动技术网IT编程  | 我要评论
function replacestr(str)
dim re
set re=new regexp
re.ignorecase=true
re.global=true
re.pattern="\d"
str=re.replace(str,"")
replacestr=str
set re=nothing
end function

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网