I want to write a parser that takes an email or other text that someone in the general public has sent – something like a birthday party invitation or a meeting announcement. The idea is to pull out the date and caption and other key info and send an appointment to Google calendar.
My best idea so far is to scan for a bunch of regular expressions that would pick out a date from the text and use that as a starting point. But then I still have to decide what the caption of the appointment is.
Does anyone have a better idea?
Thanks,
David
I think XKCD Regular Expressions is appropriate reference :).