<%
PublicFunctionUbBCode (STRCONTENT)
Dimre
Setre = newRegexp
re.IGNORECASE = true
re.global = true
'过滤危险脚本
re.pattern = "(</sCript>)"
strContent = re.Replace (strContent, "</sCript>")
re.pattern = "(script :)"
strContent = re.Replace (strContent, "Script:")
re.pattern = "(script)"
strContent = re.Replace (strContent, "script")
re.pattern = "(JS :)"
strContent = re.Replace (strContent, "JS:")
re.pattern = "(valor)"
strContent = re.Replace (strContent, "valor")
re.Pattern = "(Sobre :)"
strContent = re.Replace (strContent, "Sobre:")
re.pattern = "(arquivo :)"
strContent = re.Replace (strContent, "arquivo:")
re.pattern = "(document.cookie)"
strContent = re.Replace (strContent, "documents.cookie")
re.pattern = "(VBS :)"
strContent = re.Replace (strContent, "VBS:")
re.pattern = "(ON (mouse | saída | erro | clique na tecla |))"
strContent = re.Replace (strContent, "em US $ 2")
re.pattern = "<img. [^>]*src (= |) (. [^>]*)>"
'strContent = re.Replace (strContent, "<imgsrc = $ 2OnClick =" "javascript: window.open (this.src);" "style =" "cursor: ponteiro" "borda =" "0" ">")
strContent = re.Replace (strContent, "<imgsrc = $ 2border =" "0" ">")
're.pattern = "<img (. [^>]*)>"
'strContent = re.Replace (strContent, "<img $ 1onload =" "returnImgzoom (this, 550)" ">")