I have a complex formatted field to validate that I use REGEXP to validate normally.
[SIZE=2]MM=Month[/SIZE]
[SIZE=2]DD=Day[/SIZE]
[SIZE=2]YY=Year[/SIZE]
[SIZE=2]FFF= First three letters of the first name (* is used to fill empty spaces)[/SIZE]
[SIZE=2]I=Middle initial (* if not specified)[/SIZE]
[SIZE=2]LLLL= First 4 letters of last name (* is used to fill empty spaces)[/SIZE]
[SIZE=2]example: October 17, 1998, John D Roe - would be 101798JOHDROE*[/SIZE]
[SIZE=2]example: February 29, 2000, Mike Smith - would be 022900MIK*SMIT[/SIZE]
^(?!023)(?!0229.[13579])(?!0229[02468][26])(?!0229[13579][048])(?!(0[469]|11)31)(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])([0-9]{2})(?!.?
Being new to scriptcase, how do I implement a REGEXP validation inside scriptcase?
Thanks