On Thursday, July 31, 2003, at 10:39 AM, Dar Scott wrote:
On Thursday, July 31, 2003, at 07:18 AM, Yves COPPE wrote:
if matchtext(theLine,"(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0-9][0- 9])",theDay,TheMonth,TheYear) is true then
Try this: "([ 0][1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0-9][0-9])"
Here is one that handles different lengths for the digits, but doesn't check the ranges of the day and month numbers. But that could be done in transcript.
put matchText(tLine, "(\d{1,2})/(\d{1,2})/(\d{2,4})", tDay, tMo, tYr)
Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
