I have a pretty large account full of ~20k emails in Outlook and I need to extract phone numbers from those emails.
An example of an email would be:
From: Amy Schwartz <amy@blahdyblah.com>
Dear Anatoliy,
I want you to do blahdy blahdy blah.
Amy Schwartz
(347) 555-1212 <---- I want this
Blahdy Blah Company
The idea is to go through every email and match the last Phone number via regex and export a list in the following format:
- Name: Name from the "From" field
- Email: Email from the "From" field
- Phone: The last phone number matched in the email text
Do you have any ideas on how to go about doing this?
UPDATE: Didn't find any prebuilt solutions, but I'm hacking together my own using this. codeTwo Outlook Express. You can export any email field (body, HTML body, from, from name) to CSV. It's a little slow (3 seconds a message on my i7 iMac running a Win7 VM). But it works :) And from there I will probably just put in a database and do some regex magic. Will post process once I'm done.