asp如何清除html代码
functionclearHTMLCode(originCode)dimregsetreg=newRegExpreg.Pattern="<[^>]*>"reg.Globa...
function clearHTMLCode(originCode)
dim reg
set reg = new RegExp
reg.Pattern = "<[^>]*>"
reg.Global = true
clearHTMLCode = reg.Replace(originCode, "")
end function//楼下这里拼写有误,十分感谢! 展开
dim reg
set reg = new RegExp
reg.Pattern = "<[^>]*>"
reg.Global = true
clearHTMLCode = reg.Replace(originCode, "")
end function//楼下这里拼写有误,十分感谢! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询