Pattern matching problem

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Pattern matching problem Sun Aug 02, 2015 1:06 pm • by johnrpeckham
I am having trouble pattern matching a series of files (invoices) from a vendor because their date field is pretty random. A "grep" regex would be pretty straighforward, but I cannot seem to get a single rule that works for these patterns:

InvoiceDate : 07/20/2015
Invoice Date: 07/22/2015
Invoice Date : 07/22/2015
InvoiceDate : 07/20/2015
InvoiceDate 07/22/2015

It would be great if Hazel spit out some information on the pattern match process to help debug...
johnrpeckham
 
Posts: 1
Joined: Thu Mar 20, 2014 1:04 pm

Re: Pattern matching problem Mon Aug 03, 2015 11:08 am • by Mr_Noodle
I believe you also emailed about this? If not, say so otherwise I'll assume this was already handled there.

And a tip for others: open the file in Preview, select the text in question and paste it into a plain text document in TextEdit. That will show you the raw text, which may not be what you expect.
Mr_Noodle
Site Admin
 
Posts: 11868
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support