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 

Issue deleting dots without loosing files' extensions

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



Joined: 05 Jul 2011
Posts: 1

PostPosted: Tue Jul 05, 2011 1:49 am    Post subject: Issue deleting dots without loosing files' extensions Reply with quote

Hello!

I have a data base in which most of them are word and excel files and this format name is common:

FRENCH FRIES, S.A. DE C.V.

So I need to remove ALL the dots (ALL the '.' characters). When I try using the regix [.], I loose the files extension. And, when a try using '(?E)\.', the last dots aren't erased (recalling last example, it looks like: FRENCH FRIES, SA DE CV.) What can I do?

I would be so thankfull if you can help with this.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 09 Mar 2007
Posts: 446
Location: Canada

PostPosted: Tue Jul 05, 2011 6:17 am    Post subject: Reply with quote

What you said is true for the example you gave (ie. no extension in the name).
But if the example had an extension then all would be ok.

ie. using your regex,
FRENCH FRIES, S.A. DE C.V..doc or
FRENCH FRIES, S.A. DE C.V.doc

would become:

FRENCH FRIES, SA DE CV.doc

Do some of your files have extensions and some do not?

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