Thursday, August 29, 2013

Regular Expression to strip HTML tags from String in C#

Regex.Replace(htmlString, @"<[^>]*>", String.Empty)

No comments:

Post a Comment