JSFiddle - React, Tailwind, and code Playground

HTML

<ul id="sortable">
    <li id="pic_0">
        <div class="sortEleWrapper">
            <div class="imgWrapper">
                <img src="/favicon.png" />
                <img width="125" border="0" height="16" alt="Share" src="//ct1.addthis.com/static/btn/v2/lg-share-pt.gif"></img>
            </div>
            <input type="text" name="picText" id="picText" value="" "" style="width:105px;color:#aaa" class="sortInput" />
            <img width="125" border="0" height="16" alt="Share" src="//ct1.addthis.com/static/btn/v2/lg-share-pt.gif"></img>
        </div>
        <input type="hidden" id="picSrc" name="picSrc" value="/test1.jpg" />
    </li>
</ul>
<button type="button" id="esconde">Esconder</button>

JavaScript

$('#esconde').on('click', function () {
    $('.sortEleWrapper img').each(function () {
        if (this.src.split('addthis.com/static/')[1]) this.style.display = 'none';
    });
});