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 

Delete web address from file names?

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



Joined: 16 Apr 2007
Posts: 2

PostPosted: Mon Apr 16, 2007 2:26 pm    Post subject: Delete web address from file names? Reply with quote

I am not familiar with regular expressions, perhaps this is something that can be done with them. I find that web addresses in my file names make them very long and windows has a hard time handling long long names.
an example might be
filename [http://www.foo.com/].mp3

Smile
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 09 Mar 2007
Posts: 446
Location: Canada

PostPosted: Tue Apr 17, 2007 4:30 am    Post subject: Reply with quote

Yes, this can be done.
The example you gave, however, cannot be a real filename since Windows does not allow slashes in filenames.
Assuming that the web addresses are enclosed in square brackets as in the sample then you could do the following:

1)
Pull down the list in the Predefined Regex panel of the main window
2)
Choose 'Remove all Brackets and their contents in Prefix'
3)
insert it into the custom list
4)
press scan to scan files in the current folder (or drag or type a name into the sample name panel and preview it before pressing scan). Any web addresses enclosed in brackets should be removed.
After the scan a preview list will come up. If the list names look ok just press the rename button.

If the web addresses are not enclosed in brackets, then send me some sample names and i'll show you the commands you need to remove them.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kyle775



Joined: 16 Apr 2007
Posts: 2

PostPosted: Wed Apr 18, 2007 2:59 am    Post subject: thanks Reply with quote

thanks for the quick reply. This program is so flexible, im going to start learning regular expressions. I also use a program called Tag and Rename, it is very useful for extracting mp3 tags from file names and changing tag contents etc.
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 -> Suggested Improvements 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