手机
当前位置:查字典教程网 >编程开发 >正则表达式 >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获取网址中指定值的正则函数

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

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

[asp]匹配网址的正则

关于HTML及UBB标记的闭合

JavaScript 中的正则表达式(推荐)

判断时间的正则表达式

我的正则

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

编程语言中十六进制的正则匹配

精品推荐
分类导航