Peters Flexible RenAmiNg Kit (PFrank) Forum Index Peters Flexible RenAmiNg Kit (PFrank)
Support and Discussion Site for the PFrank File/Folder Renaming Tool (***NEW HOME PAGE*** "http://pfrank.atwebpages.com")
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Ok..... so I'm a little lost

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



Joined: 17 May 2010
Posts: 1

PostPosted: Mon May 17, 2010 12:41 am    Post subject: Ok..... so I'm a little lost Reply with quote

I'm trying to figure out how to convert file names like ...


D:\Music\My Main Music Collection\Alice in Chains - Nothing Safe- Best of the Box - 05 - Iron Gland.mp3

Into separate sub folders where the last folder is " 01 - song title.mp3 "

D:\Music\My Main Music Collection\Alice in Chains\Nothing Safe\Best of the Box\05 - Iron Gland.mp3

Any help would be appreciated.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 09 Mar 2007
Posts: 448
Location: Canada

PostPosted: Mon May 17, 2010 6:13 am    Post subject: Reply with quote

Hi,

You want to create 3 extra levels of subfolders. To do that you need to use the path bilder feature.
Paste the following into the custom renaming creator (do not copy the single quotes):

Row: 1
Search: '(?BE)(.*?)[ ]*\-[ ]*(.*?)[ ]*\-[ ]*(.*?)[ ]*\-[ ]*(.*?)'
Replace: '\1/\2/\3/\4'


The search string will isolate 4 different groups from the filename - each group is separated by a dash character. The replace string will specify a folder hierarchy with the groups.
Press the scan button to get a preview.

Hope that helps.

Peter.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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