Re: Help with validating a date input to a dialog
Re: Help with validating a date input to a dialog
- Subject: Re: Help with validating a date input to a dialog
- From: "Christopher C. Stone" <email@hidden>
- Date: Sat, 31 Mar 2001 00:42:13 -0600
Hello Michelle,
Here's how I would do the date validation with RegEx Commands.
set d to "05/04/1961"
set flag to REMatch d pattern "^\\d\\d/\\d\\d/\\d\\d\\d\\d$"
if flag is not "" then
-- do your thing
end if
--
Best Regards,
Christopher Stone
______________________________
StoneWorks Computer Consulting
email@hidden