Hi!
I have fields myfield and name which contains text of an email going like this:
Example1:
myfield="From: Smith, John Sent: Thursday, April 13, 2017 9:38 AM To: xxxxxxxxx xxxxxx Subject: yyyyyyyy yyyy yyy yy yyyyy yyyy yyyyyy yy yyyyy yyy yyyyyyy yyyy y yyyyyyyy yy yyyy yyyyyyyyy yy yyyy yyyy yyyyyyyyyy yyyyy yyy yyyyyyy yyyyyyyyyyyyy yyyy yyy yyyy yy yyyyyyy yyyyyyyyyy yy yyyyyyy John xxxxxx xxxxxxx xxxxxxx xxxxxxxxx xxxxxxxxx xxxxxxx xxxxxx xxxxx xxxxxxxx xxxx xx"
name="John"
Example2:
"From: Sue, Peggy Sent: Tuesday, April 18, 2017 4:48 PM To: xxxx xxxxx Subject: yyyyyyyyy yyyyyyyyy yyyyyyyyyyyyy yyyyyy yyyyyyyyy yyyyyyyyyyy yyyyyyyyyy yyyyyyyyyy yyyyyyyyyy yyyyyyyyyyy yyyyyyyyyyyyyyy yyy yyyyyyyyy yyyyyyyyyyyy yyyyyyyyyyyyy yyyyyyyyyyyy yyyyyyyyyyy yyyyyyyyyyyyy yyyy yyyy y yyyy yyyy yyyyyyyy Peggy xxxx xxxxxxxx xxxx xxxxxx xx xxxxxx xxxxxxxxx xxxxxxx xxxxxxxx xxx"
name="Peggy"
so name is different in each email but always appears. I want to extract all the Ys. I tried using rex, but since name is not a static text but changes for each event, i didn't work. There are no specific characters that I could try using, the only constant thing is that name appears. Any ideas how I could do that?
Thanks a lot!
... View more