View previous topic :: View next topic |
Author |
Message |
nakoez
Joined: 04 Feb 2009 Posts: 2
|
Posted: Wed Feb 04, 2009 11:49 am Post subject: Renaming - Help Reqd |
|
|
I renamed a file to 091231.zip
I would like to further rename it as 31-12-09.zip
Can anybody help me with this?
Thank you,
-nakoez |
|
Back to top |
|
 |
admin Site Admin
Joined: 09 Mar 2007 Posts: 448 Location: Canada
|
Posted: Wed Feb 04, 2009 7:02 pm Post subject: |
|
|
Just add the following search/replace info to the last row of your custom renaming creator sequence (do not include the single quotes):
Search: '([0-9]{2,2})([0-9]{2,2})([0-9]{2,2})'
Replace: '\3-\2-\1'
the above sequence splits the name into 3 groups and then swaps the 1st and 3rd groups.
Hope that helps.
Peter. |
|
Back to top |
|
 |
nakoez
Joined: 04 Feb 2009 Posts: 2
|
Posted: Thu Feb 05, 2009 3:48 am Post subject: |
|
|
It works, Interesting.., Thank you - nakoez |
|
Back to top |
|
 |
|