Page 1 of 1

More tolerant date matching

PostPosted: Sun Nov 29, 2015 6:00 pm
by dgjinator
Is there a way to get Hazel to be more tolerant of separators when matching to a custom date format? I am trying to match dates in the contents of documents that have been OCR'd. For a date like "January 1, 2015" the OCR process often leaves out the space between the comma and the year or turns the comma into a period. I'd like the match to work in these cases too.

Re: More tolerant date matching

PostPosted: Mon Nov 30, 2015 1:21 pm
by Mr_Noodle
In such cases, it pays to not be overly specific. Try using the "anything" token to match any fudge in between the date components.