JSFiddle - React, Tailwind, and code Playground

by phoenix_suresh

HTML

<div>$</div>

JavaScript

$("*").contents().each(function() {
    if(this.nodeType == 3)
        this.nodeValue = this.nodeValue.replace("$", "R");
});