Renaming Question

If you need help on how to use the program
Post Reply
KosmoKramer
Posts: 4
Joined: 2006-11-15 08:53:30
Location: Lost in RegExp

Renaming Question

Post by KosmoKramer »

Hi,
need newbie-help ;)
for example:
this_is-myrecording5678.Simpsö-nk.avi
this1_is-myrecording5679.Simpsö-ng.avi

how can i rename them both ,in one step,to:

think.avi
thing.avi

maybe bad example...
again, i want to delete characters between ,eg., "thi" *********** till one or some speciefic letter appears like "n" or "nk"

could this be done?

Anyway great software, thanks
antp
Site Admin
Posts: 9665
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Using regular expressions (added in version 2.09) you could do that somewhat easily, but what are the exact criterias for what you want do so?
KosmoKramer
Posts: 4
Joined: 2006-11-15 08:53:30
Location: Lost in RegExp

Post by KosmoKramer »

uhhh...i forgot looking for an update :shaking:, have used 2.07

"regular expression" sounds like i have to be genius to use that..

if i had many files like that:

01file1-some.mp3
2file2h-different.mp3
003file3aa-words.mp3

and i just want to delete "file*" till "-" appears:

01-some.mp3
2-different.mp3
003-words.mp3

How could this be done?

It would be perfect for me to have under
"Action" "Character Deletion": "After the string"
another button "Till this string"

If you know what the regular expression for my "rename-wish" is,
please tell me, i´m too stupid to learn it by myself. :??:

PS:In the german translation line 127 isnt translated, if you like to replace it,here the words for "before the string":
<rbtCharDelStr2 Caption="Vor der Zeichenfolge:"/>

Thanks for reply
antp
Site Admin
Posts: 9665
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

KosmoKramer wrote: "regular expression" sounds like i have to be genius to use that..
Actually yes, that's somewhat unreadable and complexe to use :D
But once you know the basics you can do lots of things.
KosmoKramer wrote: It would be perfect for me to have under
"Action" "Character Deletion": "After the string"
another button "Till this string"
Deletion between two strings then?
Well, I could add it, but it could be done with the following regexp:

expression: (.*)file(.*)-(.*)\.mp3
new name: $1-$3.mp3

(untested, but it should work)
KosmoKramer wrote: PS:In the german translation line 127 isnt translated, if you like to replace it,here the words for "before the string":
<rbtCharDelStr2 Caption="Vor der Zeichenfolge:"/>
Thanks, I didn't get a reply from the translator when I asked him for this string that I added in latest version.
KosmoKramer
Posts: 4
Joined: 2006-11-15 08:53:30
Location: Lost in RegExp

Post by KosmoKramer »

Deletion between two strings then?
YES, i think thats the short words, which i didnt find,
instead i was writing long loooong examples. :rolleyes:


Well, I could add it,...
like i wrote, that would be perfect :clapping: (for me, and maybe for orhers too)
...but it could be done with the following regexp:

expression: (.*)file(.*)-(.*)\.mp3
new name: $1-$3.mp3
:hum: ... it MAYBE could be done that way,
but i would prefer a button to klick instead of typing these
letters which causes headache and let me :vomit:. :D

So.. , for when can i expect AntRenamer 2.10 with the new function?:naughty:

greets
antp
Site Admin
Posts: 9665
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

KosmoKramer wrote: :hum: ... it MAYBE could be done that way,
but i would prefer a button to klick instead of typing these
letters which causes headache and let me :vomit:. :D
You do not have to type these, you can copy/paste them :D (and reuse them later)
KosmoKramer wrote: So.. , for when can i expect AntRenamer 2.10 with the new function?:naughty:
I can say that it will be added someday, but I cannot say when. It may take long time before next version, so it is a good idea to use the regexp until then :)
KosmoKramer
Posts: 4
Joined: 2006-11-15 08:53:30
Location: Lost in RegExp

Post by KosmoKramer »

You do not have to type these, you can copy/paste them grin (and reuse them later)
I found out that i´m even too stupid for copy&paste.
After tryin it 10 times and not getting a proper result,
i realize that i copied a space at the end of ".mp3[Space]". :ha:
But finaly, it worked.
I can say that it will be added someday
:grinking:
but I cannot say when.
:/
It may take long time before next version
:shocked:
so it is a good idea to use the regexp until then :smile:
:shaking: :D

Take your time, i´m waitin.....

au revoir
Post Reply