How To Remove Html Tags From A String

  1. public string replaces(string s)  
  2. {  
  3.     String result = Regex.Replace(s, @"<[^>]*>", String.Empty);  
  4.     return result;  
  5. }