I'm trying to change certain characters like [ngu1], [ngu2] to [chanquadi] using the following script:
<script type='text/javascript'>
var heo1 = document.querySelector(<.post-body>);
var heo2 = heo1.replace("[ngu1]", "chanquadi");
document.write(heo2);
</script>
Unfortunately, the code is not working as expected. Can someone please assist me in resolving this issue? Thank you!