Extracting date from file name

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

Moderator: Mr_Noodle

Extracting date from file name Tue Aug 02, 2022 10:09 am • by jkpalmer52
I've searched the forum but can't seem to find what I'm looking for. Please excuse any re-posting.

I need to download many files that start with "Statement" followed by the statement date in the format of mmddyyyy.

I would like to create a reference to the statement date and rename the file to something like "Bank Checking_yyyy-mm-dd" with pdf the file name extension.

Can't seem to figure out how to reference the "date" portion of the file name.

Having difficulty doing this. Help appreciated.
jkpalmer52
 
Posts: 9
Joined: Tue Feb 20, 2018 10:24 am

Re: Extracting date from file name Wed Aug 03, 2022 8:47 am • by Mr_Noodle
Look up match patterns in the manual. You can set up a custom date attribute to grab the date part.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support

cron