JSFiddle - React, Tailwind, and code Playground
HTML
<b class="xyzxterms" style="cursor: default; ">bryant keil bio</b>
JavaScript
var attrs = { };
$.each($("b")[0].attributes, function(idx, attr) {
attrs[attr.nodeName] = attr.nodeValue;
});
$("b").replaceWith(function () {
attrs.text = $(this).text();
return $("<h1 />", attrs);
});