Henrik Visby

Henrik Visby

  • NA
  • 2
  • 7.5k

C# HTML Stripping

Oct 23 2014 4:06 AM
Hello C# Corner

Currecntly I am trying to strip some html tags using this regex:
<[^>]*(>|$)|&nbsp;|&zwnj;|&raquo;|&laquo;

However I still end up with signs as { font-size:9pt; font-family: arial; }
So basicly I want the styling gone aswell,
 
How can I strip { } aswell?

Best regards

Answers (1)