This is an incoming email:
=====================================
An online order has been placed on the atm.org.uk web site.

REF: ATM-10XXXXXXX73
DATE: 01-10-2004
TIME: 16:07:57

Membership Num: 
Name: Arty Bloggs
CAddress: 4 Deeping Ave.
Cheltenham
Postcode: FD31 5SD
Telephone: 01987 112233
E-mail: [EMAIL PROTECTED]
DAddress: 4 Deeping Ave.
Cheltenham
FD31 5SD

*** ITEMS ORDERED ***

        1 x Membership ATM Student Sep 04 - Aug 05 (ID memstu)

POSTAGE OPTION: UK
POSTAGE COST: �0.00
TOTAL: �19.50

SPECIAL REQUESTS: 

NEWSLETTER: YES

=======================================

I want to extract the item or items bought and send out an email that
cays stuff like: 'Thank you for your order for

Item 1
Item 2

We will blah blah blah.

Some more blah.

etc

and send it to the email address given and it says Dear Arty Bloggs at
the beginning.

Is there a RegEx head out there could whack the code together
sufficient for me to tweak it - despite the books and Google - I can't
even get started. If someone wouldn't mind starting me off...

And I also need to see exactly how to place the RegEx in a template.

Maybe someone's got one already made that does something like this?

It's always *** ITEMS ORDERED *** newline, newline

and newline, newline at the end of the items. Each item on a newline
in between.

-- 
Marten Gallagher
Annery Kiln Web Design
www.annerykiln.co.uk
Using The Bat! 3.0
on Windows XP 5.1 


[EMAIL PROTECTED]



________________________________________________
Current version is 3.00.00 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to