Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function chars_replace() {
var a = document.getElementsByTagName("p")[0].innerHTML;
a = a.replace(/\\/g, '/');
document.getElementsByTagName("p")[0].innerHTML = a;
}
</script>
</head>
<body>
<button onclick="chars_replace()">replace</button>
<p>\</p>
</body>
</html>
The most helpful JAVASCRIPT solutions