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('|');