文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>用正则讲字符串中非数字替换为空

用正则讲字符串中非数字替换为空

时间:2011-04-10  来源:moretop

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

相关阅读 更多 +
排行榜 更多 +
明星台球无限钻石最新版

明星台球无限钻石最新版

休闲益智 下载
机器人角斗场无广告版

机器人角斗场无广告版

飞行射击 下载
Sniper3D无限金币钻石

Sniper3D无限金币钻石

飞行射击 下载