html5中文学习网

您的位置: 首页 > 网络编程 > 正则表达式 » 正文

asp下替换非数字为空的正则_正则表达式_脚本之家

[ ] 已经帮助:人解决问题
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
(责任编辑:)
推荐书籍
推荐资讯
关于HTML5先行者 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 人才招聘 - 帮助