========================================
using System.Text.RegularExpressions;
public static string RemoveHtml(string strSource)
{
string pattern = @"<(.|\n)*?>";
strSource = Regex.Replace(strSource, pattern, string.Empty);
return strSource;
}
That's It !!
Hope you will like it.
0 comments:
Post a Comment