JSFiddle - React, Tailwind, and code Playground
by Mark James
HTML
<div>here is you that we are you replacing</div>
<div>you you you</div>
<input id=idBut type=button value="replace @ with $" />
JavaScript
$("#idBut").click(function() {
$("body").children().each(function() {
$(this).html($(this).html().replace("you","me"));
});
});