JSFiddle - React, Tailwind, and code Playground

HTML

<div>
    <p>
        <span>
            <strong>&copy; just testing</strong>
        </span>
    </p>
</div>

JavaScript

$(function(){
var copyright = $('body *:contains(©)').filter(function(){
        return $(this).find('*:contains(©)').length == 0
}).text();
alert(copyright);
})