亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

ASP中過濾UBB和Html標(biāo)簽

 更新時間:2006年09月27日 00:00:00   作者:  

我們存儲在數(shù)據(jù)庫中的內(nèi)容是HTML格式的,但是有時候我們需要無格式的顯示這內(nèi)容,這是用正則表達(dá)式實現(xiàn)的過濾。

復(fù)制代碼 代碼如下:

<%
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," ") 
nohtml=str 
set re=nothing 
end function 
%>

相關(guān)文章

最新評論