File name replace help with wildcards?

Advanced Renamer forum
#1 : 24/10-23 08:35
Niximus
Posts: 1
Hi

I have this situation:
-----------------------
001-namefilefirst-namefilefirst-001 [TEXT].ext
002-namefilesecond-namefilesecond-002 [TEXT].ext
...
and so on with hundred of files
-----------------------

I have to rename like this:
-----------------------
001-namefilefirst-namefilefirst-[othertext].ext
002-namefilesecond-namefilesecond-[othertext].ext
...
-----------------------

So I tried to replace: "-001 [TEXT]" with "-[othertext]"

using replace rule like this:

Replace: -*[TEXT]
With: -[othertext]

And the trouble is that it selects text from the 1st "-" so it becames:

001-[othertext]
002-[othertext]

and so on...

I read the help and tried to figure out how to do it but I didn't find anything.

Someone have any suggest?

Thanks a lot,

Nik
#2 : 24/10-23 20:32
Styb
Posts: 117
Reply to #1:
Try to use Replace and Add methods, as follow:

Replace
https://i.postimg.cc/HsJB71wt/Img01.png

Add
https://i.postimg.cc/gj3yNmg9/Img02.png