Steven Cappiello Posted October 2, 2007 Share Posted October 2, 2007 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 More sharing options...
comment Posted October 2, 2007 Share Posted October 2, 2007 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 More sharing options...
Steven Cappiello Posted October 3, 2007 Author Share Posted October 3, 2007 Thanks comment! I think this answers the 2nd part too-- it's almost always going to be "First name Last Name via RT" since RT is a system that is generating that email header. I'll grab the first " and the text "via RT".. figure out what is in the middle and then use leftwords and rightwords Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6185 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 accountSign in
Already have an account? Sign in here.
Sign In Now