title: How to regex replace paragraphs with less than 3 characters inside of them?
body: <p>So basically, I have this:</p>
  
  <pre><code>str.replace(/&lt;p&gt;&lt;\/p&gt;|&lt;p&gt;\.&lt;\/p&gt;/g);
  </code></pre>
  
  <p>Trying to remove all paragraphs with nothing or less than 3 characters inside. The first part of the regex works properly, but the paragraphs like this: <code>&lt;p&gt;.&lt;/p&gt;</code> don't get removed. Sorry for the newbie question.</p>