手机
当前位置:查字典教程网 >编程开发 >正则表达式 >asp去除html标记与空格的正则
asp去除html标记与空格的正则
摘要:functionnohtml(str)dimreSetre=newRegExpre.IgnoreCase=truere.Global=Tru...

functionnohtml(str)

dimre

Setre=newRegExp

re.IgnoreCase=true

re.Global=True

re.Pattern="(<.[^<]*>)"

str=re.replace(str,"")

re.Pattern="(</[^<]*>)"

str=re.replace(str,"")

str=replace(str,"","")

str=replace(str,"","")

nohtml=str

setre=nothing

endfunction

【asp去除html标记与空格的正则】相关文章:

匹配价格的正则表达式

grep用法详解 grep与正则表达式

java常用正则表达式

检查素数的正则表达式分享

常见的正则表达式问题

教你轻松记住JS正则表达式

匹配中文的正则(GB2312/utf-8)

收集整理项目中常用到的正则表达式

最全最实用的正则表达式大全分享

关于HTML及UBB标记的闭合

精品推荐
分类导航