Change MMM yyyy to yyyymm and position at head of filename

A swapping-ground for Regular Expression syntax

Change MMM yyyy to yyyymm and position at head of filename

Postby Noteworthy » Sat Jan 09, 2021 11:54 am

The subect line describes what I wish to do.
I have many, many bank statements in the following filename format:
Statement_Aug 2018

For ease of sorting and referencing, it would be very helpful to rename the files:
201808 Statement

I would be very grateful if you could suggest a RegEx to accomplish this.

Many thanks in advance.
Noteworthy
 
Posts: 7
Joined: Mon Jun 22, 2020 3:13 pm

Re: Change MMM yyyy to yyyymm and position at head of filename

Postby Admin » Sat Jan 09, 2021 12:03 pm

Hi, can you please post 10 name examples, from -> to?
thanks
Admin
Site Admin
 
Posts: 2343
Joined: Tue Mar 08, 2005 8:39 pm

Re: Change MMM yyyy to yyyymm and position at head of filename

Postby Noteworthy » Sat Jan 09, 2021 12:19 pm

Statement_Apr 2018
Statement_Aug 2018
Statement_Dec 2018
Statement_Feb 2018
Statement_Jan 2018
Statement_Jul 2018
Statement_Jun 2018
Statement_Mar 2018
Statement_May 2018
Statement_Nov 2018
Statement_Oct 2018
Statement_Sep 2018
Noteworthy
 
Posts: 7
Joined: Mon Jun 22, 2020 3:13 pm


Return to Regular Expressions