0

I have exported my table contents into a .csv file that contains a column for description. This column contains some HTML in plain text format that I cannot use.

Example:

"<p><strong>Baby Rocking Horse Figurine</strong></p>

<p>This cuddly bear is rocking back and forth into dreamland. 18 note movement.</p>

<p>Tune: <em>"Rock-A-Bye Baby"</em></p>

<p><em>5" H</em></p>

<p> </p>

<div id="image"><img id="zoomImage" name="zoomImage" src="http://www.sanfranciscomusicbox.com/core/media/media.nl?id=751799&c=969236&h=bc01a62cfec9b69d444c" /></div>
"

Desired Output:

"<p><strong>Baby Rocking Horse Figurine</strong></p> <p>This cuddly bear is rocking back and forth into dreamland. 18 note movement.</p> <p>Tune: <em>"Rock-A-Bye Baby"</em></p> <p><em>5" H</em></p> <p>&nbsp;</p> <div id="image"><img id="zoomImage" name="zoomImage" src="http://www.sanfranciscomusicbox.com/core/media/media.nl?id=751799&amp;c=969236&amp;h=bc01a62cfec9b69d444c" /></div> "

Is there a way to convert this into real HTML in bulk through excel or some other means? I have this data in MySQL as data type Text

4
  • Check this answer,you will get some idea. stackoverflow.com/questions/1842071/… Commented Jul 27, 2017 at 18:03
  • @alfrescolearner Thanks I was reviewing that answer also, as an alternative any way to export directly from MySQL in the proper format? The data is stored in my table as given in the example. Commented Jul 27, 2017 at 18:05
  • Also I don't need excel to actually render the HTML on the cell itself, rather just display proper HTML so I can re-import this somewhere else. Commented Jul 27, 2017 at 18:11
  • Try This one . stackoverflow.com/questions/3678980/… Commented Jul 27, 2017 at 18:13

1 Answer 1

0

Found SEOTools for Excel contains an HTMLDecode function you can use to acheive the desired result.

http://seotoolsforexcel.com/htmldecode/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.