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下替换非数字为空的正则】相关文章:
★ 浅析正则表达式