Is it possible with regular expressions?

Advanced Renamer forum
#1 : 08/12-16 00:45
Nico
Nico
Posts: 5
I need help from someone who is smarter than me.

This is how my formatting will be:
x.xx - <word(s)> - <word(s)>

filenames could be like this:
1.11 - Word - Uppercase
2.22 - Two Words - lowercase (info)
3.33 - To-Gether - lowercase

Taking this as reference -> "x.xx - yyy - zzz"
What I need is something that always sets the first letter from zzz uppercase.

Some further information:
- x.xx will always only contain numbers
- yyy can start with a number but it's rare and can contain one
- zzz will never start with a number but can contain one





I've tried it with regular expressions but I can't get it right.



08/12-16 00:45
#2 : 08/12-16 06:32
G. Lambany
G. Lambany
Posts: 147
Reply to #1:
I don't really like the case modifying method in AR, so I made it in a script instead

Javascript for the AR Script method:

http://pastebin.com/TtdVVTUg

not sure I fully understood your needs, but that's a start I guess

cheers


08/12-16 06:32
#3 : 08/12-16 15:29
Nico
Nico
Posts: 5
Reply to #2:

Thanks you for the effort but unfortunately it's not working for me.
Could you test those examples if they work for you?

1.11 - BIGTIME - a life
2.22 - Two Words - desperate
3.33 - To-Gether - for water
4.44 - ASD - as an example


So that:
a life -> A life
desperate - > Desperate
for water -> For water
as an example -> As an example




08/12-16 15:29
#4 : 08/12-16 16:36
G. Lambany
G. Lambany
Posts: 147
Reply to #3:
Well, it works as intended here, that is, exactly like your new 4 examples.

https://i.imgur.com/aKqVSGE.png

What doesn't work?

glambany@gmail.com


08/12-16 16:36
#5 : 08/12-16 17:29
Nico
Nico
Posts: 5
Reply to #4:

Found the problem

As I rename the files in multiple steps I've applied this script before the name was in the correct pattern for the script.

I simple need to do this step at the end.

https://i.imgur.com/qOvBCeu.png

So everything works as intended, thank you


08/12-16 17:29