JSFiddle - React, Tailwind, and code Playground
HTML
<div id="hwiTestimonial">
" Bla bla"
<br/>
<div>....</div>
</div>
JavaScript
$("#hwiTestimonial").contents().filter(function () {
return this.nodeType === 3; // Text nodes only
}).remove();