Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string text = "";
- text = textFromHtml.Replace("<DIV", System.Environment.NewLine + "<");
- text = Regex.Replace(text, "<.*?>", String.Empty);
- text = text.Replace(" ", "");
- text = HttpUtility.HtmlDecode(text);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement