Strip html code using regex (CSASPNETStripHtmlCode)

The C# code sample demonstrates stripping and parsing html code using regular expression.

C# (56.4 KB)
3.6 Star
15,996 times
Add to favorites
E-mail Twitter Digg Facebook
Sign in to ask a question

  • Why bother using Regex?
    1 Posts | Last post August 02, 2011
    • I am wondering would it better to use the HTML Agility Pack instead of Regex in this case as its defined elements rather than looking for specific types or groups of tags