Match the correct one of multiple dates in PDF

Hello!
I am trying to extract the correct date from a PDF file. But there are several dates in it. Since the files are often read by OCR, Hazel does not "read" the files from top to bottom and with the function "match the x occurence..." I often cannot find the correct date.
I would like to filter the correct date with the rule "Date last matched" "is in the last x week".
unfortunately I am not successful with this. Can this rule even filter OCR-read dates?
Thanks for your help!
I am trying to extract the correct date from a PDF file. But there are several dates in it. Since the files are often read by OCR, Hazel does not "read" the files from top to bottom and with the function "match the x occurence..." I often cannot find the correct date.
I would like to filter the correct date with the rule "Date last matched" "is in the last x week".
unfortunately I am not successful with this. Can this rule even filter OCR-read dates?
Thanks for your help!