JSFiddle - React, Tailwind, and code Playground
by Joe Cisneros
HTML
<div id='something'>
<B>March, 2012</B>: <FONT color=blue>12</FONT> - <FONT color=blue>16</FONT>
</div>
<div id='new'></div>
<div id='domParser'></div>
JavaScript
(function($){
var something = $('#something').text(); //get just the text
$('#new').text(something); //set the text to something's text
$('#domParser').html((new DOMParser().parseFromString(html, 'text/html')).body.textContent
);
})(jQuery);