【发布时间】:2017-01-03 21:58:55
【问题描述】:
我是 python 新手。我需要检索匹配列表
例如,我的文字在下面,这是一封电子邮件。 我需要从邮件线程中提取所有 To、From、Sent、Subject 和 body。
结果需要来自列表
From(1) = 克兰德尔,肖恩 From(2) = 内特尔顿,马库斯
To(1)= 克兰德尔,肖恩;巴德,罗伯特 To(2)= 梅雷迪思,凯文
喜欢上面的发送,主题等
"-----Original Message-----
From: Crandall, Sean
Sent: Wednesday, May 23, 2001 2:56 PM
To: Meredith, Kevin
Subject: RE: Spreads and Product long desc.
Kevin,
Is the SP and NP language in the spread language the same language we use when we transact SP15 or NP15 on eol?
-----Original Message-----
From: Meredith, Kevin
Sent: Wednesday, May 23, 2001 11:16 AM
To: Crandall, Sean; Badeer, Robert
Subject: FW: Spreads and Product long desc."
【问题讨论】:
-
向我们展示您的尝试?