using System.Text.RegularExpressions; const string HTML_PATTERN = "<.*?>"; static string StripHTML (string inputString) { return Regex.Replace (inputString, HTML_PATTERN , " "); }
No comments: