jimwillsher wrote:I'd probably do them in two phases. I'm assuming they don't all have Nov, some are Oct etc? In which case, use the Character Translations option:
J,a,n=0,1
F,e,b=0,2
...
N,o,v=1,1
D,e,c=1,2
etc.
Then handle the ".1" becoming "1." as a separate task. You can easily do the two in the same move of course, but no sense clouding the issues if it's a one-off task you have.
Jim
Thank Jim, I got it.
spotburst wrote:Hi ckjian,
In total your renaming will look like this:
In the main BRU window: Match (KN)(.*)(200)(.*)\.(.*)
Replace \5\1\20\4
If you highlight your file in the file lister old 'Name' to 'New name' will appear as:
KN21Nov2008.1.pdf 1KN21Nov08.pdf
you can see that the bracketed terms in the match string become fields-to-use in the replace string
ie.
1. (KN) is field 1, it matches the KN in your filename >> in the replace string \1 references the string KN
2. the first (.*) is field 2,it matches the 21Nov in your filename >> in the replace string \2 references the string 21Nov
3. (200) is field 3 or 200 >> you will not use this when you rebuild in the replace string (if you wanted to it would be \3)
4. the next (.*) is field 4, it matches 8 in your filename >> in the replace string \4 references the string 8
5. \. matches .
6. the next (.*) is filed 5, it matches your 'kind of siffixed' 1 >> in the replace string \5 references the string 1
so the replace string \5\1\20\4 catenates all of your wanted fields (and other literla bits-and-bobs) thus:
field 5 + field 1 + field 2 + 0 (literally) + field 4 = 1KN21Nov08.pdf
Now for the character translation (which I was originally having problems with):
Choose 'Options' drop-down in the main menu
Choose 'Character Translation' (or Ctrl+F6 if you like)
In the empty table that appears you need to enter:
J,a,n=0,1
F,e,b=0,2
M,a,r=0,3
A,p,r=0,4
etc.
This will the translate the 'Nov' in your 1KN21Nov08.pdf string to '11' yielding your desired result: 1KN211108.pdf
Hope this helps.
Thank you for your input spotburst. I'm still new to this software so I need some time to digest your instruction

Oh ya. Actually there is another pattern that I missed out. That is actually the 3 pad count on the page number.
E.g.
KN21Nov2008.1.pdf --> 001KN21Nov08.pdf
KN21Nov2008.11.pdf --> 011KN21Nov08.pdf
KN21Nov2008.111.pdf --> 111KN21Nov08.pdf
Any idea how to include the pad count?
Looks like my file renaming task can be done using this software. It saves me a tedious work for renaming 1k+ files.
Thank again
EDIT: Text formatting and add in more examples