RL Vision Knowledge Base

Support questions and answers for software by RL Vision.

Note: This is an archived discussion. Any bug, problem or suggestion mentioned here is likely to have been fixed since it was written.

Subject: Re: Pre-Sale Question...

Date: Mon, 27 Oct 2008 19:52:18 +0100

Hi,

RegExp are indeed a good solution for this problem! I recommend doing this in two steps. Then you can combine these two steps into a "preset" and run them as one command!

1) First, use the "Replace" function to simply remove the periods and replace them with a space:

Find: "."
Replace: " "

2) Next, still in the "Replace" function, tick the "Reg Exp" checkbox. Now use this regular expression:

Find: "(\d\d\d\d) (\d\d) (\d\d)"
Replace: "$1.$2.$3"

RegExp are tricky to read, but not extremely hard to understand. I recommend reading the manual to learn more about how they work! Basically what I do here is to find numbers (\d) in a specific sequence and capture them (using parenthesis), and then recall this using the $ keywords, this time separated by periods.

// Dan



Rafael wrote:
> We help a local newspaper in NJ with their web site. We currently store 10 of thousands of pictures in our servers for them. Pictures dating back 15 years.
> We are looking ofr rename utility that can recognize the following...
>
> ORIGINAL PICTURE NAME:
> Corzine.Campaign.Edison.NJ.2005.10.01 or
> Corzine.Campaign.Edison.NJ.2005.09.11.Church, etc.
>
> DESIRED NAME:
> Corzine Campaign Edison NJ 2005.10.01
>
> As you can see, we don't want the periods removed from the date; just from the rest of the file name.
>
> Someone mentioned to us that this could accomplished by using Regular Expression.
> I performed a boolean search on Google, and you site came up. I read in your website that Flash Renamerhandles Reg Expressions.
>
> Is this something that can be done by Flash Rename?
>
> Thanks for your help!
>
> R.


Back to Knowledge Base


 · Software
 · Download
 · Order



 RL Vision
 · About
 · Contact
 · News
 · Blog



 Shareware
 · Flash Renamer
 · PDF Img Extract
 · Exif Tag Remover
 · Dupli Find



 Freeware
 · Replace Genius
 · Office Img Extract
 · Notepad2 BE
 · PhotoSift
 · CCTime
 · Hot Spot Studio
 · Snap2HTML
 · Snap2IMG
 · Bubble Math
 · DinnerWiz
 · NSF Tool
 · Beep.Exe



 Misc.
 · Changelogs
 · TitleQ
 · ArtGem
 · Graphics Tutorials
 · Win7 Font Bug
 · KB


Like my Freeware?

I'm on GitHub too!



© 1998-2024 RL Vision Privacy Policy