I've a string for example like this:
Col´gio
How can I convert it to:
Colégio
Without having to do a replace for all the html codes
1. Open TextEdit and then open the document in TextEdit by clicking on Open in the File menu. 2. Click on Format, then Make Plain Text.
Remove HTML from Text in ExcelSelect the cell that contains the HTML and hit Ctrl + H to go to the Find/Replace window. In the Find what: input, type <*> and then leave the Replace with: input blank.
Just for completion:
If you are using .NET 4.0+ you can also use WebUtility.HtmlDecode
System.Web.HttpUtility.HtmlDecode("Col´gio");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With