当前位置: 编程技术>其它
asp下替换非数字为空的正则
来源: 互联网 发布时间:2014-10-14
本文导语: 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
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
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