JSFiddle - React, Tailwind, and code Playground
by Scoobler
HTML
<html>
<head>
<title>Testing</title>
</head>
<body>
<h1><u>Demo jQuery Replace</u></h1>
Hello, this is a test replacing -9o0-9909 with <b>The new string</b>.
<br/><br/>
If I wrote -1o9-2202 and -1o9-2202 again but really wanted it to be <b>The ALL new string</b>.
<br/><br/>
This 12345-6789 wants to be <b>abcde-fghi</b>.
</body>
</html>
JavaScript
var replaced = $("body").html().replace('-9o0-9909','<b>The new string</b>');
$("body").html(replaced);
var replaced = $("body").html().replace(/-1o9-2202/g,'<b>The ALL new string</b>');
$("body").html(replaced);
$("body").html($("body").html().replace(/12345-6789/g,'<b>abcde-fghi</b>'));