I have a string which contains a series of characters, including html tags. I would like to preserve the text but remove all tags, replacing the paragraph end </p> tag with <br> - I have found the following script, but not understanding regular expressions makes it hard to understand what it does exactly what exactly does this function do and how can I modify it to preserve the text as I said earlier.
Set RegularExpressionObject = New RegExp
.Pattern = "<[^>]+>"
.IgnoreCase = True
.Global = True
stripTags = RegularExpressionObject.Replace(HTMLstring, "")
Set RegularExpressionObject = nothing