<% ' stripHTML vers 1 - VBScript function stripHTML(txt) set Reg = new RegExp Reg.pattern = "[<][^>]*[>]" Reg.IgnoreCase = true Reg.Global = true stripHTML = Reg.Replace(txt,"") end function %> <% // stripHTML vers 1 - Jscript function stripHTML(string) { var strip = new RegExp(); strip = /[<][^>]*[>]/gi; return string.replace(strip, ""); } %>