title: Reduce more than two new lines to one
body: <p>Whats the right way to reduce more than two new lines to one?</p>
  
  <pre><code>preg_replace('/[\n]{2,}/', "\n", "Hi,\nHow are you?\n\n\nI am just testing");
  </code></pre>
  
  <p>Returns:</p>
  
  <pre><code>Hi,
  How are you?
  I am just testing
  </code></pre>
  
  <p>Whilst, the expected result is:</p>
  
  <pre><code>Hi,
  How are you?
  
  I am just testing
  </code></pre>
  
  <p>The goal is to reformat the text of emails and change any spaces > 3 to 1</p>
  
  <p>Thanks!</p>