title: Regex, how to match multiple lines?
body: <p>I'm trying to match the <code>From</code> line all the way to the end of the <code>Subject</code> line in the following:</p>
  
  <pre><code>....
  From: XXXXXX 
  Date: Tue, 8 Mar 2011 10:52:42 -0800 
  To: XXXXXXX
  Subject: XXXXXXX
  ....
  </code></pre>
  
  <p>So far I have:</p>
  
  <pre><code>/From:.*Date:.*To:.*Subject/m
  </code></pre>
  
  <p>But that doesn't match to the end of the subject line. I tried adding <code>$</code> but that had no effect.</p>