JSFiddle - React, Tailwind, and code Playground
by mdarnell
HTML
<p>block of text with a <span>span</span> in it</p>
JavaScript
jQuery('span').replaceWith('|');
by mdarnell
<p>block of text with a <span>span</span> in it</p>
jQuery('span').replaceWith('|');