title: spliting string with double new line characters
body: <p>I have a .txt file, the data of which I have stored in a long string. There are many single new line characters in the string after every line. And there are double new line characters at the end of paragraphs. What I want is to split the string into an array of paragraphs.</p>
  
  <p>what I thought is the following but it is not working</p>
  
  <pre><code>string filePath = "C:\\Users\\Data.txt";
  StreamReader readFile = new StreamReader(filePath);
  string Data = readFile.ReadToEnd();
  string[] paragraphss = Regex.Split(Data, "(^|[^\n])\n{2}(?!\n)");
  </code></pre>
  
  <p>please help
  thank you</p>