ASP 正则去除所有UBB标签 Function RemoveHTML( strText )
Dim RegEx
Set RegEx = New RegExp
RegEx.Pattern = ""这里怎么写
RegEx.Global = True
RemoveHTML = RegEx.Replace(strText, "")
End Function ------解决方案--------------------
Function RemoveHTML( strText )
Dim RegEx
Set RegEx = New RegExp
RegEx.Pattern = "\[[^\]]+\]"
RegEx.Global = True
RemoveHTML = RegEx.Replace(strText, "")
End Function
response.write removehtml("[abc]abc[/abc]")