Peters Flexible RenAmiNg Kit (PFrank) Forum Index Peters Flexible RenAmiNg Kit (PFrank)
Support and Discussion Site for the PFrank File/Folder Renaming Tool (http://www3.telus.net/pfrank)
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Renaming - Help Reqd

 
Post new topic   Reply to topic    Peters Flexible RenAmiNg Kit (PFrank) Forum Index -> Regular Expressions
View previous topic :: View next topic  
Author Message
nakoez



Joined: 04 Feb 2009
Posts: 2

PostPosted: Wed Feb 04, 2009 11:49 am    Post subject: Renaming - Help Reqd Reply with quote

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
View user's profile Send private message
admin
Site Admin


Joined: 09 Mar 2007
Posts: 446
Location: Canada

PostPosted: Wed Feb 04, 2009 7:02 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
nakoez



Joined: 04 Feb 2009
Posts: 2

PostPosted: Thu Feb 05, 2009 3:48 am    Post subject: Reply with quote

It works, Interesting.., Thank you - nakoez
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Peters Flexible RenAmiNg Kit (PFrank) Forum Index -> Regular Expressions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


Start Your Own Video Sharing Site

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com