JSFiddle - React, Tailwind, and code Playground

by lollero

HTML

<div>http://</div>

JavaScript

$("div").html(function(i, h){
    return h.replace("http://", "-empty-");
});