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 

Find files without an extension

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



Joined: 24 Dec 2013
Posts: 2

PostPosted: Fri Jan 10, 2014 3:42 am    Post subject: Find files without an extension Reply with quote

I want to find files without an extension and then add an extention.

some_file1.wav
some_file2
some_file3.wav
some_file4.wav

becomes

some_file1.wav
some_file2.wav
some_file3.wav
some_file4.wav

What is the regex syntax?
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 09 Mar 2007
Posts: 448
Location: Canada

PostPosted: Thu Jan 16, 2014 10:26 pm    Post subject: Reply with quote

First press the more button in the name filter panel. Another window comes up. add *.* in the name exclusion panel.
Make sure the pattern type in the panel at the top indicates 'unix wildcard' - this is the default pattern type for the name filter.
Press OK.
This will tell the name filter to omit any files with a '.' in the name.

Back on the main window, enter the following into the custom renaming creator (do not enter the single quotes).

Row: 1
Search: '(.*)'
Replace: '\1.wav'


This will tell the renamer to take all of the current name and add '.wav'.
Press Scan.

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