Date of Birth is an available predefined policy in itself, but is also an identifier for several other policies (e.g. UK PII, US PII). A regular expression is used to identify a potential Date of Birth.
- date of birth
- birth date
By using a combination of a regular expression and Java 8's built in Date class, validation is
performed that ensures that the potential date of birth is in one of 20 standard date formats. Additionally, all potential dates must fall between 01/01/1890 and present day.
List of allowable date formats:
Proximity value: 100 terms
Updated 4 years ago