Changing Small Words Case


#1

Hello, fellow taggers, and sorry for probably asking an already anwered question (though i tried my best to find so).
I'll get straight to the point:
I like my files to have small words like of, and, the, a, etc... in lower case, and i don't seem to find out a solution that can be "space sensitive" since the first word of the file must be in upper case.
Example:
06 - John Willians - Star Wars The Phantom Menace Soundtrack - The Trip To The Naboo Temple And The Audience With Boss Nass
should be:
06 - John Willians - Star Wars The Phantom Menace Soundtrack - The Trip to the Naboo Temple and the Audience with Boss Nass
My casing ethic is somewhat complicated, but it doesn't really matter if i can get some string that works
out with this.
Any help is very apprecieted and thank you all very much in advance.


#2

You can use a "Replace with regular expressions" action:
/t/2745/1

Maybe this still needs some tweaking for your case but your example and the explanation contradict a little.
Just say what's missing


#3

Hello dano, and thanks for your reply.
Sorry for not being very clear. What i really need is to get small words like a, of, and ,the, or, etc... to start with a low case letter instead of a capital letter, but i don't want the first word of each "field", if it is a small word, to be lower case (that's what i was trying to say with space sensitive,[the example wasn't good really good at all was it? i do use spaces after my traces¬¬], but it was just something very simple i had in mind). As i sad, my casing ethic is somewhat complicated(even for me), and i'm deeply sorry if i wasn't very clear.
Unfortunately the information on link you posted didn't worked at all, but thank you very much anyway.
I hope this post help and i'm looking forward for an answer.


#4

Well if the action is made/used correctly it should do what you want:

TITLE: The Trip To The Naboo Temple And The Audience With Boss Nass
afterwards:
TITLE: The Trip to the Naboo Temple and the Audience with Boss Nass

Action type: Replace with regular expressions
Field: _TAG
Regular expression: \s(a|the|of|to|an|and|with)(?=\s)
Replace matches with: $lower($0)

[ ] case-sensitive comparison

You put your "small words" into the brackets seperated by |
The \s stuff makes sure the words are only lowered if preceeded and followed by a space.


Schreibweise einzelner Wörter ändern - Wie gehts?
#5

I got it working! Thank you very much.