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 

Last Dash

 
Post new topic   Reply to topic    Peters Flexible RenAmiNg Kit (PFrank) Forum Index -> General Support
View previous topic :: View next topic  
Author Message
abenton



Joined: 28 Sep 2010
Posts: 2

PostPosted: Wed Sep 29, 2010 3:19 am    Post subject: Last Dash Reply with quote

I'm trying to rename files with different structures.
"abc - def - hij - 01 - myfile.mp3"
"def - hij - 01 - myfile.mp3"
"hij - 01 - myfile.mp3"
Is there a way to go to the last dash, over a space and then delete all in front that? So I end up with: "myfile.mp3"
_________________
albie
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 09 Mar 2007
Posts: 446
Location: Canada

PostPosted: Wed Sep 29, 2010 1:34 pm    Post subject: Reply with quote

Sure.

Copy the following into the custom renaming creator and press scan (do not enter the single quotes):

Row: 1
Search: '(?E).*\- '
Replace:

With the above expression, everything up to the last dash + space will be replaced with nothing.

Hope that helps.

Peter.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
abenton



Joined: 28 Sep 2010
Posts: 2

PostPosted: Thu Sep 30, 2010 4:53 am    Post subject: Last Dash Reply with quote

Worked great. Thank you.
_________________
albie
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 -> General Support 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