JSFiddle - React, Tailwind, and code Playground
by pj_js15
HTML
<h3 id="headerProductCount">
</h3>
JavaScript
var x = '"<a href="#sResult" data-toggle="tab">Search results (104)</a>"';
var count = x.split("(");
count = count[1].split(")");
console.log(count[0]);
$('#headerProductCount').html(count[0] + ' Products');