欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

asp去除html標(biāo)記與空格的正則

 更新時間:2008年04月26日 21:51:53   作者:  
用asp實現(xiàn)的去除內(nèi)容的html標(biāo)記和空格的實現(xiàn)代碼
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,"&nbsp;","")
       str=replace(str," ","")
       nohtml=str 
       set re=nothing 
end function

相關(guān)文章

最新評論