JSFiddle - React, Tailwind, and code Playground
HTML
<pre class="">
<span style="padding-right: 0.1px;">
<span class="cm-operator">=</span>
<span class="cm-operator interactive-linter-warning">===</span>
<span class="cm-operator interactive-linter-warning interactive-linter-error">===</span>
</span>
</pre>
JavaScript
console.log($("pre").filter(function() {
return $(this).text().replace(/\s/g, "") === "=======";
}).get());