You don't need to use Reg. Exp. for this. Instead, treat the date as a
list, with a delimiter of "/", and use listGetAt() or even getToken() to get
the various date parts.
-----Original Message-----
From: John Barleycorn [mailto:[EMAIL PROTECTED]]
Sent: September 16, 2001 4:47 PM
To: CF-Talk
Subject: Reg Exp help
Gang, given the date 8/8/2001, how would i use a regular expression to set
the variables for month, day, and year. I know what i need to do, but i'm
just not sure how to do it with a Reg Exp
month: the number before the slash
day: the number between two slashes
year: the number after the last slash
can anyone tell me how to turn my english into Reg Exp. Thank you very much.
john
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists