当前位置:主页 > >

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

时间:2021-04-14 09:02:40 | 栏目: | 点击:

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

您可能感兴趣的文章:

相关文章