Jump to content

2 text-parsing calculation questions


This topic is 6105 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi there,

could someone recommend how I should approach:

1. grabbing the email address that comes after the word "Requestors: " out of a field that has the following information:

Mon Oct 01 15:51:24 2007: Request 7897 was acted upon.

Transaction: Ticket created by [email protected]

Queue: cbio-faculty-search

Subject: rec letter for Dr. John Smith

Owner: Nobody

Requestors: [email protected]

Status: new

blah blah blah blah blah...

and

2. Grab the first name and last name out of a From field that contains the following?

"John Smith via RT"

many thanks in advance

Link to comment
Share on other sites

This should help you with your fist question:

http://www.fmforums.com/forum/showtopic.php?tid/172999

I am not sure there IS an answer to your second question, since every sender can call themselves whatever they want, e.g.

"John Smith via RT"

or

"Smith, John via RT"

or even

"PsychoKiller"

Link to comment
Share on other sites

This topic is 6105 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.