Microsoft Purview REGEX Scripts Development

Job ID: 39074552

Budget: $30 – $250 AUD

I need two REGEX scripts for Microsoft Purview DLP.

You must have knowledge and experience building complex REGEX scripts for Microsoft Purview.

The first core script needs to detect dates of birth in various formats, without case sensitivity.

EG-

DD/MM/YYYY
DD/MM/YY
DD-MM-YYYY
DD-MM-YY
DD.MM.YYYY
DD.MM.YY
DDMMYYYY
DDMMYY
A date of birth written in full, such as 1st April 1980. 22nd March 1960 etc.

The second REGEX script is to be designed as a Supporting Element to the above date formats. This REGEX script it required to match keywords that are in close proximity to the above date formats.

The script will need to detect words like DOB, Date of birth, born on, born, birth date and b-day that are in close proximity to the above date formats without case sensitivity.

No Match (Should NOT be detected):

"Any year prior to 1900 and after 2050" (Years are outside the specified range)
"Meeting on 03/15/2024" (Date is not associated with birth-related keywords.)
"Invoice date: 12-25-2023" (Date is not associated with birth-related keywords.)
"File created on 07.04.2023" (Date is not associated with birth-related keywords.)
"199209101" (Not a whole number because of the trailing 1)
"12345678" (8 digit number, but not a valid date)
"My birthday is in June." (No actual date given.)
"I was born in the 80s." (No specific date given.)
"03/15/1985 is just a random number." (No context)