function nohtml(str) 
dim re 
Set re=new RegExp 
       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 
       set re=nothing 
end function

以上就是【asp去除html标记与空格的正则】的全部内容了,欢迎留言评论进行交流!

赞(0) 踩(0)

与本文相关的软件

发表我的评论

最新评论

  1. 暂无评论