当前位置:Gxlcms > 正则表达式 > asp下替换非数字为空的正则

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

时间:2021-07-01 10:21:17 帮助过:38人阅读

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

人气教程排行