Forwarded email body parsing

How would I pull To: From: Subject: Date: from the email’s body

Here is example. And I want pull (only first inclusion):
[email protected],
Tuesday, October 16,
2007 10:01 AM, RE: Job

Start example---------------

No problem. 6pm it is then.

-------- Original Message --------
From: Danny [email protected]
Sent: Tuesday, October 16, 2007 10:01 AM
To: Jim [email protected]
Subject: RE: Job

Whoa! Hold on. I have a job scheduled at 5:30 which mails out
a report to key tech staff. Could you push it back an hour?

-------- Original Message --------
From: Jim [email protected]
Sent: Tuesday, October 16, 2007 9:40 AM
To: Danny [email protected]
Subject: Job

I’m going to suspend the mail service for approx. thirty
minutes tonight, starting at 5pm, to install some updates
and important fixes.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs