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: Michelle Steiner <email@hidden>
- Date: Fri, 30 Mar 2001 22:48:41 -0800
On 3/30/01 10:42 PM, Christopher C. Stone <email@hidden> wrote:
>
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
thanks. If my friend had regex commands, it would work nicely, but she
doesn't, and I need to give her as simple a setup as possible.
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------