'The use of ASP here, of course, you can write regular expression in JS, relatively simple.
Function FilterHTML (Strtofilter) DIM Strtemp Strtemp = STRTOFILTER While Instr (1, Strtemp, "<") AND INSTR (1, Strtemp, ">") strTemp = Left (Strtemp, INSTR (1, strTemp, "<") - 1 ) & Right (strtemp, len (strTemp) -instr (1, strtemp, ">")) Wend filterHtml = Strtempend FunctionResponse.write FilterHTML (STR)