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
(5)
15,975 times
Add to favorites
5/5/2011
E-mail Twitter del.icio.us 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