title: Shorten empty lines to one line c# Regex
body: <p>I have some text like</p>
  
  <pre><code>This is a line
  
  
  
  
  This is other line
  
  
  
  
  
  
  
  This is another line
  </code></pre>
  
  <p><strong>How to get rid of those multi empty lines ?</strong></p>
  
  <p>What I want is </p>
  
  <pre><code>This is a line
  
  This is other line
  
  This is another line
  </code></pre>
  
  <p><strong>\s</strong> says that matches any whitespace character (spaces, tabs, line breaks) but I cannot figure out how to make multi empty line to just one empty line ?</p>