AA,
There are certain characters that are not suported in DI detection. In addiiton it is better to make a different Regex for each possibility. DO NOT try to make it all work in 1 statement.
The '.' is considered as the wildcard.
[0123][0-9].[01][0-9].1990
This will work..
I would recomend that you look at other DI's and see which characters work. (SSN, Cali DL)
For example '|' will not work as an OR.
Just create as many different variations of the Regex and put them in a different line.
Try this in the meantime.
[0123][0-9].[01][0-9].19\d{2}
[0123][0-9].[01][0-9].20[01]\d
[0123][0-9]-[01][0-9]-19\d{2}
[0123][0-9]-[01][0-9]-20[01]\d
Good Luck
Ronak
PLEASE MARKED SOLVED IF POSSIBLE