title: RegEx How to find text between two strings
body: <p>I have this text and I want to capture </p>
  
  <pre><code>begin
  text 
  end
  
  begin
  text 
  end
  
  begin
  text 
  end
  </code></pre>
  
  <p>the text between the begin and end.</p>
  
  <pre><code>/begin.*end/
  </code></pre>
  
  <p>this will capture the first begin and the last end.</p>