>>internal static string RemoveHtmlTags(string s) >> { >> return Regex.Replace(s, @"<[^>]*>", ""); >> } >>>
> lcContent = System.Text.RegularExpressions.Regex.Replace(lcContent, "<.*?>", "") >The latter, ie
<.*?>matches a left bracket, the minimum chars needed followed by a right bracket
<[^>]*>matches a left bracket, any number of chars except the right bracket, followed by a right bracket
[tag]
attr="PPP"
[/tag]