I am looking for some code which can convert my html string to plain text but it can convert the line breaks of html with “\r\n” line breaks . I want to send the output in my mail. How can I achieve this? what option should I go Regex, HTMLAgilityPack or else?
Share
How about the opposite of nl2br function?