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 

Deleting brackets

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



Joined: 19 Sep 2008
Posts: 1

PostPosted: Fri Sep 19, 2008 6:31 pm    Post subject: Deleting brackets Reply with quote

Hi,

I have some MP3 files in the naming format '[MP3]-name (remix).mp3'

I would like it to be 'name.mp3' getting rid of the [ ] and ( ), the text inside of them, and the -

Everytime I try to rename I can't get rid of the [ ] or the ( ) but it does remove the text inside of them.

Thank you in advance.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 09 Mar 2007
Posts: 446
Location: Canada

PostPosted: Sat Sep 20, 2008 3:54 am    Post subject: Reply with quote

If you look under the predefined regex list there is a selection for 'Delete Brackets and their content'. If you select that and insert you will be half way there. Then you just need the next row to remove any leading dashes.
Copy and paste the information below into the Custom Renaming Creator list (do not include the single quotes).

Row: 1
Search: '(?x) [\{\(\[]+.*?[\]\}\)]+ # delete brackets + contents'
Replace:
Row: 2
Search: '^[-]'
Replace:

Press scan and watch the preview list appear. if you like what you see then press 'Rename'.

Hope this 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 -> Plugins 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