JSFiddle - React, Tailwind, and code Playground

HTML

<h1>
<u>
    <strong></strong>
</u>
<u>
   <strong>Read This Report Now
       <strong></strong> ??
   </strong>
 </u>
 </h1>

JavaScript

$("u").each(function(){
var x=$(this).text().trim();
    if(x==""){
    $(this).remove();
    } 
});