Function Stringhtml(str) Dim re Set re = new RegExp re.IgnoreCase = True re.Global = True re.Pattern = "<(.[^>]*)>" str = re.replace(str, "") re.Pattern = "\[(.[^\[]*)\]" str = re.replace(str, "") str = replace(str, ">", ">") str = replace(str, "<", "<") If str="" Then str="..." Stringhtml=str End Function