asp下替换非数字为空的正则
摘要:functionreplacestr(str)dimresetre=newregexpre.ignorecase=truere.global...
functionreplacestr(str)
dimre
setre=newregexp
re.ignorecase=true
re.global=true
re.pattern="D"
str=re.replace(str,"")
replacestr=str
setre=nothing
endfunction
【asp下替换非数字为空的正则】相关文章:
★ 一个不错的正则
★ php下常用表单验证的正则表达式
★ javascript下正则匹配百分比的代码
★ [js]一个只删除所有font标签的正则函数
★ [asp]匹配网址的正则
★ [a] 1 [/a]转换为网址的UBB的正则
★ 正则表达式链接替换函数的技巧
★ 得到连接和图片的地址 正则
★ 我的正则
★ php中常用的正则表达式的介绍及应用实例代码