Use Regular expressions
Regex.Replace(msg, "<.*?>", string.Empty);
rdkleine
2010-05-29 07:45:31
This should help you.
public string Strip(string text)
{
return Regex.Replace(text, @”<(.|\n)*?>”, string.Empty);
}
to remove a perticular tag try this one http://urenjoy.blogspot.com/2008/10/remove-html-tags-from-string.html