I need un uppercase feature


#1

Hello,

I need your help to change my file name...

Her is what I have :
[CD1] 06. Jacob miller - let me love you

I would like that to be like this
[CD1] 06. Jacob Miller - Let me love you

In fact I want a "sentence case" after the dash and a "normal case" before it.
But I can't find the expression I need to use...

Thanks


regular expressions
#2

I found that expression on the forum but it doesn't work :
-([a-z])
-$upper($1)

I put it into " replace a regular expression". Perhaps that's the reason why It doesn't work


#3

Convert > Filename - filename
Old pattern:
%1]%2 - %3
New pattern:
%1']'$caps(%2) - $caps3(%3)


#4

Thank you very much, it works perfectly.

Is there a way to do that with the action manager?
Like that I can save the action.

I tried with "replace" but it didn't work.


#5

You may use an action like this:

Begin Actionsgroup TEST_djodjolyon

Action #1
Actiontype 4: Replace with regular expression
Field: _FILENAME
Regular expression: ^([CD\d+])÷(\d+.)÷(.+?)÷-÷(.+?)$
Replace matches with: $1÷$2÷$caps($3)÷-÷$caps3($4)

[_] case sensitive comparison

Note: Replace one special character ÷ with one space character.
End Actionsgroup TEST_djodjolyon (1 Action)

DD.20080529.1050.CEST


#6

Hello,
I made it and it works very well.
Thank you a lot.
That's now esier for me as I have it in the action manager.
:slight_smile: