title: Replace text in html and keep events
body: <p>I need to replace one pattern like that : "{12345,abcd}" in html of body but i woludn't lose the events of children.
  I have tried that code : </p>
  
  <pre><code>$("body").html($("body").html().replace(/[{]{1}([\d]+)[,]{1}(.*?)[}]{1}/g, "&lt;span&gt;Code:$1&lt;/span&gt; - &lt;span&gt;Text:$2&lt;/span&gt;"))
  </code></pre>
  
  <p>but that kill all events of elements.
  How i can do?</p>