Hi Dar,
Le 9 avr. 04, � 08:22, Dar Scott a �crit :
On Friday, April 9, 2004, at 12:02 AM, Yves COPPE wrote:
Can someone help me to make it run fine ?
Your regex will match a string that has a date in it someplace, that is, anyplace.
Put a \A at the start of the regex to match the start of the string. Put a \z at the end of the regex to match the end of the string.
function CheckDate pDateToCheck
return matchText(pDateToCheck,"\A([1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0 -9][0-9][0-9][0-9])\z")
end CheckDate
doesn't give the good effect
Can you give me the correct syntax please ?
Greetings.
Yves COPPE [EMAIL PROTECTED] _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
