I am getting the html code stored in the variable of string type. Now I want to write the text obtained in normal form(removing the tags) in the file.
System.Text.RegularExpressions.Regex.Replace(HTMLCode, "<[^>]*>", "")
I tried for this, It works for the tag fine but the CSS part still remain there. Any suggestions through which CSS can also be removed.