JSFiddle - React, Tailwind, and code Playground

HTML

<div id='something'>
    <B>March, 2012</B>: <FONT color=blue>12</FONT> - <FONT color=blue>16</FONT>
</div>

<div id='new'></div>

JavaScript

(function($){
    
    var something = $('#something').text(); //get just the text
    $('#new').text(something); //set the text to something's text

    
})(jQuery);