Remove Pattern: removing end-placed (123) in folder names

Advanced Renamer forum
#1 : 06/04-13 14:31
NomenEtOmen
NomenEtOmen
Posts: 29
hi,

i try to remove end-positioned digits, which are in brackets like:

my folder name (123)
other folder (10)

digit-lenght 1-3;

i tried this remove pattern method:
$\(d{1-3}\)
case-sensitive: no
use reg ex: yes
apply to: name and ext

but no success. also the more general $\(d+\) brings no effect.
where i'm wrong? can anyone help?

thx
a very pleased user


06/04-13 14:31
#2 : 06/04-13 21:32
Kim Jensen
Kim Jensen
Administrator
Posts: 883
Reply to #1:
Please give me an example of the filename you want to rename and an example of the result you want after the rename batch.


06/04-13 21:32
#3 : 07/04-13 20:49
NomenEtOmen
NomenEtOmen
Posts: 29
Reply to #2:
ok, here an example:

original directory name with ending digits in brackets: "any directory name (456)"
should be renamed to: "any directory name"

in general, ending (digits) of the length of 1 to 3 should be removed.



07/04-13 20:49
#4 : 07/04-13 22:42
Kim Jensen
Kim Jensen
Administrator
Posts: 883
Reply to #3:
Your regex pattern should be \(\d+\)$


07/04-13 22:42
#5 : 09/04-13 13:31
NomenEtOmen
NomenEtOmen
Posts: 29
Reply to #4:
yeah, it works. and for a more specific determination the digit-length-limitation with

\(\d{1,3}\)$

works also well.
but an other "error" occurs: i have in the workload list a lot of dir entries, but only a few matches with this pattern and get an new name. so the renamer works fine until i "start batch". the renamer does the renaming well, but the resulf info window prompts with an error count of exact the number of entries which should NOT be renamed. it's a little confusing because the confidence in the renaming will be decreased.

ciao


09/04-13 13:31
#6 : 20/06-15 21:57
Kalroz
Kalroz
Posts: 5
Reply to #4: Hello. I have the similar problem, and tried your suggestions, but this is not working.
The difference is that in the end of file name I have dot, like this:

Garden of my dreams.123456
or
Garden of my dreams .123456

Thanks' in advance.
*****************************
Sorry, I founded the pattern, that is in replace mode:

Text to be replaced: (.+)(.{7})
Replace with: /1
Use regular expressions: Check

It's work in this case.


20/06-15 21:57 - edited 20/06-15 23:15