Case Conversion using filename filename

I'm not able to turn "official" to "Official" please see my steps below. What can be wrong... Thanks

01 Convert

02 Filename - Filename

03 Old Filename Pattern = %1 - %2 - %3 - %4

04 New Filename Pattern = %1 - %2 $caps(- %3) $caps(- %4)

05 Old Filename
3A - 123 - COFFEE FT SOULSTAR - You Rock My World (Official Music Video)_pn.mp3

06 New Filename
3A - 123 - Coffee Ft Soulstar - You Rock My World (Official Music Video)_pn.mp3

Sorry Official in old filename is lower case = official. Thanks

You would have to specify the characters that form the word boundaries, e.g.
`$caps(-%3,' (')

Thanks.. By the way... is there a way to always have my hyphens look like the filename below?

2A - 147 - Blondie - Call Me_pn

I will always be using using three hyphens in the filename, but sometimes the hyphens in the filename may look like the bad three examples below:

2A- 147 - Blondie -Call Me_pn
2A - 147 - Blondie - Call Me_pn
2A -147 -Blondie- Call Me_pn

What I'm trying to do is always have the hyphens spaced like below:

                                 2A - 147 - Blondie - Call Me_pn

Characters/white space/hyphen/white space/characters/white space/hyphen/white space/characters/white space/hyphen/white space/characters

Thank You

You could run 2 action of the type "Replace" for _FILENAME
Action 1:
Search: -
Replace:_-_
(where _ represents the space character)
Action 2:
Search: __
Replace: _
(as above)

Thanks Ohrenkino..., but if my Action is Replace, wouldn't the:
Field: FILENAME
Original: -
Replace with: -

???

Thanks

Using this works in reverse it adds a space on each side of the hyphen. I just need one space on each side of the hyphen... Any ideas?

Thanks.

Action type = replace with regular expressions

Field = FIELDNAME
Regular expression = ^(.+?)-(.+?)-(.+?)-(.+?)
Replace matches with = $1 - $2 - $3 - $4

Got it figured out...

01 Action type = replace with regular expressions
02 Field = FIELDNAME
03 Regular expression = \s{1,}
04 Replace matches with = " " (One space without the quotes)

This will place one space on each side of the 3 hyphens...

e.g. 2A - 111 - The Blackbyrds - Enter In_pn

Thanks...

sometimes I hate the forum formatter.
You can see in Case Conversion using filename filename
how it was meant to be.
These 2 actions then work with any amount of hypens in a string.