asp下替换非数字为空的正则 2020-02-16 分类:ASP 标签Tags:asp,替换,数字,空的,正则,function,replacestr,str,dim,re,set,n,ew,regexp,ignorecase,true,global,pattern,d
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 以上就是【asp下替换非数字为空的正则】的全部内容了,欢迎留言评论进行交流!