title: searching for last group of text between specific characters
body: <p>I have a text file that has data printed in the following way</p>
  
  <pre><code>---
  1A
  1B
  1C
  ---
  ---
  2A
  2B
  2C
  ---
  ---
  3A
  3B
  3C
  .
  .
  3n
  ---
  NA
  .
  .
  Nn
  ---
  </code></pre>
  
  <p>essentially lines of text encased around lines of --- to ---. </p>
  
  <p>I am looking to extract the contents between the last occurrence of --- to ---, so far using regex I have have managed to narrow it down to <code>(?&lt;=---)(.*?)(?=---)</code> however this finds all occurrences and I would only like the last.</p>