JSFiddle - React, Tailwind, and code Playground

HTML

<div class="articleContent ">
<p> </p>

<p><img scr="" /></p>

<p>cgh,kyfjkf<strong></strong></p>
<p><strong>5686759589</strong></p>
    <p><strong></strong>;'/.,`</p>
<p><strong></strong></p>
</div>

CSS

p{border:solid thin red;margin:1em;}

JavaScript

$(".articleContent p").filter( function() {
        $this = $(this);
        return (!$.trim($this.text()).length && !$this.has('img').length);
}).hide()