JSFiddle - React, Tailwind, and code Playground

by j08691

HTML

<span class="fillmeout">This is a test of the <span>NOUN</span> Broadcast <span>NOUN</span> System.</span>

JavaScript

var str = $('.fillmeout').html();
str = str.split('<span>NOUN</span>');
console.log(str);