Hi,
I would like to understand what the following code is doing. This logic is part of a routine to strip out html from the body of an email message.
mBBSREgEx.IgnoreCase = True
mBBSREgEx.Global = True
mBBSREgEx.Pattern = "<[^>]*>"
sResult = mBBSREgEx.Replace(sResult, "")
Thank you, Jim
Ok, if I wanted to change the routine to strip out tags constructed like [b]Hello[/b] instead of the existing one that strils out "<" and ">" tags, how would I change the pattern?
Would this work?
mBBSREgEx.Pattern = "\[[^\]]*\]"
Thanks, Jim