JSFiddle - React, Tailwind, and code Playground

HTML

<h1 class="title">SparklePony Board of Directors SparklePony</h1>
<div class='title'>SparklePony Board of Directors SparklePony</div>

CSS

span.sparkle{
 font-weight:bold;
 font-style:italic;
 text-decoration: underline;
}

JavaScript

$('.title').html(function(i,v){    
   return v.replace(/SparklePony/g,'<span class="sparkle">SparklePony</span>');
});