Return to Snippet

Revision: 23539
at February 9, 2010 04:13 by ginoplusio


Initial Code
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

Initial URL
http://www.barattalo.it/2010/02/09/asp-strip-tags-function-equivalent-to-php/

Initial Description
A simple strip tags function, equivalent to PHP function.

Initial Title
ASP simple strip_tags function

Initial Tags

                                

Initial Language
ASP