手机
当前位置:查字典教程网 >编程开发 >正则表达式 >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标记与空格的正则】相关文章:

我的正则

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

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

ORACLE数据库中怎么求除数字、字母之外的非中文字符的正则表达式

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

取图片路径的正则

常见的正则表达式问题

PHP html标签正则替换并可自定义正则规则

匹配价格的正则表达式

asp去掉html,保留img br p div的正则实现代码

精品推荐
分类导航