JSFiddle - React, Tailwind, and code Playground
JavaScript
var str = 'These words are highlighted: borex, edge, rss feeds while these words are not: bewedge, borexlumina, rss feedssss';
str = str.replace(/\b(borex|edge|rss feeds)\b/g,'<b>$1</b>');
document.write( str );