/ Published in: ASP
URL: http://www.barattalo.it/2010/02/09/asp-strip-tags-function-equivalent-to-php/
A simple strip tags function, equivalent to PHP function.
Expand |
Embed | Plain Text
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
You need to login to post a comment.
