public static string StripHTML(this string htmlString) { const string pattern = @"<(.|\n)*?>"; return Regex.Replace(htmlString, pattern, string.Empty); }