Javascript find and replace string within substring not using jquery
<p>Hi can someone convert this jquery in to plain javascript?</p>

<pre><code>$("body *").each(function () { 
    $(this).html($(this).html().replace(/\[br\]/\g,'&lt;br/&gt;')); 
});
</code></pre>

<p>What it does is, it finds all [br] and then replace it with <code>&lt;br/&gt;</code></p>

<p>The code above works perfectly in chrome but not in mozilla and IE so i need to execute it in plain javascript. many thanks to all!</p>
