title: Replace html tag with some text
body: <p>I want to replace long sequences of "<code>&lt;br&gt;</code>" with some text, to solve a problem with people posting long texts in my forum.</p>
  
  <p>I specifically want to replace 
  "<code>&lt;br&gt;</code>
  <code>&lt;br&gt;</code>
  <code>&lt;br&gt;</code>"
  (3 br in a row)
  with "<code>|</code>"</p>
  
  <p>How do I do that using Javascript?</p>