looks good to me.
Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:[EMAIL PROTECTED] Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world ---------------------------------------------------------------------- Get your domain names online from: http://www.alienationdomains.co.uk Reseller options available! ---------------------------------------------------------------------- ---------------------------------------------------------------------- "Aidan Whitehall" <[EMAIL PROTECTED] To: <[EMAIL PROTECTED]> nks.co.uk> cc: Subject: [ cf-dev ] RegEx date format 28/07/2003 11:41 Please respond to dev This is a revisit and a symptom of my weak understanding of RegExs. Does this look OK to you? It's designed to see if a string is in the format yyyy-mm-dd, allowing years from 1900-2099, months from 01 to 12 and days from 01 to 31: reFind("((19)[0-9]{2}|(20)[0-9]{2})-((0[1-9]|1[0-2]))-((0[1-9]|[1-2][0-9 ]|3[0-1]))", str) I just want this to check the format; nothing more. Thanks. -- Aidan Whitehall <mailto:[EMAIL PROTECTED]> Macromedia ColdFusion Developer Fairbanks Environmental Ltd +44 (0)1695 51775 Queen's Awards Winner 2003 <http://www.fairbanks.co.uk/go/awards> ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]