JSFiddle - React, Tailwind, and code Playground
by wirey00
JavaScript
var a = '<p style="font-weight: bold;">COMPANY NAME</p>';
var b = '<span style="font-weight: bold;">COMPANY NAME</span>';
console.log(b.match(/[<p style="font-weight: bold;">]|[<p>Name of Company: <span style="font-weight: bold;">]/).input);