title: Javascript regex replace between closing and opening tags
body: <p>I realise this must be a really easy piece of regex, but just can't seem to work it out. I just need to search a string for this:</p>
  
  <pre><code>&lt;/p&gt;&lt;p&gt;
  </code></pre>
  
  <p>And add a comma between them, like this:</p>
  
  <pre><code>&lt;/p&gt;,&lt;p&gt;
  </code></pre>
  
  <p>Ignore the fact it isn't nice html, it makes sense to me though!</p>
  
  <p>I tried this, but didn't seem to work:</p>
  
  <pre><code>str.replace(/&lt;\/p&gt;&lt;p&gt;/g, "&lt;/p&gt;,&lt;p&gt;");
  </code></pre>
  
  <p>Any ideas? Thanks :)</p>