JSFiddle - React, Tailwind, and code Playground

HTML

<div class="example">Some Example text  <span id="abe"> <span id="abe"> this is an inner text of the span </span>  text in the span </span>
</div>
<div class="example">Some more Example text</div>

CSS

#abe{color:blue;}
#ab{color:red;}

JavaScript

$('div').each(function() {
    $this = $(this);
    $this.html($this.html().replace(/e|E/g, ''));
});