65.9K
CodeProject is changing. Read more.
Home

Remove all the HTML tags and display a plain text only inside (in case XML is not well formed)

starIconstarIconstarIconstarIconstarIcon

5.00/5 (4 votes)

Dec 17, 2010

CPOL
viewsIcon

20743

How about loading it into an XmlDocument and getting the InnerText? (Provided the HTML is well-formed XML, of course.)

How about loading it into an XmlDocument and getting the InnerText? (Provided the HTML is well-formed XML, of course.)