/ Published in: ASP
A simple strip tags function, equivalent to PHP function.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function strip_tags(strHTML) dim regEx Set regEx = New RegExp With regEx .Pattern = "<(.|\n)+?>" .IgnoreCase = true .Global = true End With strip_tags = regEx.replace(strHTML, "") end function
URL: http://www.barattalo.it/2010/02/09/asp-strip-tags-function-equivalent-to-php/