JSFiddle - React, Tailwind, and code Playground
by lbstr
JavaScript
var path = "#users/god",
backslash = String.fromCharCode(92),
newPath = path.replace(/#/, "\\");
document.write("old: " + path);
document.write("<br>");
document.write("new: " + newPath);