JSFiddle - React, Tailwind, and code Playground

HTML

<div class="innerWrapper">
Office Current Listings
</div>

CSS

h1 {color:green;}

JavaScript

var div = $('div.innerWrapper:contains("Office Current Listings")');
    var html = div.html();
    div.html(html.replace('Office Current Listings', '<h1>Office Current Listings</h1>'));