I\'m using Razor in MVC 3 and Asp.net C#.
I have a View with the following code. model.ContentBody has some HTML tags.
model.ContentBody
I would need display this HTM
Use this code in the controller:
string noHTML = Regex.Replace(inputHTML, @"<[^>]+>| ", "").Trim();