Processing text information

Noob warning…

I use online bill paying service which sends me a standardized email whenever a bill is received. I would like to take that email and based on the date in the email create a iCal event to remind me when a bill is due.

I have played with applescript and I think I can hammer out something that will access and iCal but what I am looking for is anything that might have a good description of how to parse a block of text. I couldn’t find anything referring to Regex in applescript.

Thank you for your time.

Regex can be handled using Satimage’s osax. Download it, put it in ~/Library/ScriptingAdditions/ restart your Script Editor, and look at its dictionary.

If the text to be parsed is just that, text, then AppleScript users normally read the text and parse it using AppleScript’s text item delimiters. To read more about them, see this tutorial