My husband's paychecks contain 4 dates in the following order: 1. the date the check was issued, 2. the beginning of the pay period, 3. the end of the pay period, and 4. the pay date (which is always the same as the date the check was issued).
I had a rule where Hazel would find the first date and use it to rename and move the pdf into a folder based on that date. Now it no longer sees or recognizes any of the dates, even though in the rule editor (where it says they aren't there) I can see them, they show up in Preview, and when I copy and paste them from Preview into a text document, they are there. On the text document, the dates appear in a different order, with the date the check was issued appearing last, but they all still appear.
The file name when I download is Paycheck_2021-09-02_2021-10-01.pdf where the two dates are the beginning and end of the pay period, and I have tried using match to work with that, but have not been successful.
What I want is to rename it with the date first and then my husband's name, like this: 2021-09-02_HusbandPaycheck.pdf and move it into a folder called HusbandPaystubs2021.
Any suggestions appreciated. Thank you.