JSFiddle - React, Tailwind, and code Playground
HTML
<div class="innerWrapper">
Office Current Listings and stuff
<div> this is another div</div>
<div>and this one includes Office Current Listings and stuff</div>
<div>Office Current Listings</div>
</div>
CSS
h2{color:green;}
JavaScript
$('div.innerWrapper').each(
function(index) {
var $el = $(this);
var html = $el.html();
$el.html(html.replace(/Office Current Listings/g, "<h2>Office Current Listings</h2>"));
});