JSFiddle - React, Tailwind, and code Playground

HTML

<ul>
<li>
    <div class="list-top">
        <figure>1</figure>
        <div class="list-top-right">
            <h3>It's Competitive Out There</h3>
        </div>
    </div>      
</li>
</ul>

JavaScript

$("ul li").html(function(i,h){ return h.replace(/<figure>/g,'').replace(/<\/figure>/g,''); });