Hi Everyone
I am using regular expressions for xml input validation purpose using Rule Based Validations.
I need to validate the length of number and i used below regex
^\d{9}$
but it was not working so i had used [0-9]{9} from smooks example validation-basis for 9 digit number.
I need to validate a date for YYMMDD format and I am using below regex.
^\d{2}(0[1-9]|1[0-2])(0[1-9]|[12][0-9]|3[01])$
but this is not working...I have written a sample code in java to test it...and it is working .
but when i am using rule based validation in smooks it is not working.
Can anyone please help me with this issues? Please point out to right regex generator which will work in smooks.
Thanks,
Prashant