I searched for this repeatedly but I couldn't find an answer for this specific scenario. I'd like to be able to convert a string to lowercase while also preserving any existing titled words.
For example:
Hello, this is a Titled woRd aND ThIs one is UPPERCASED.
should become:
Hello, this is a Titled word and This one is Uppercased.
Every letter would be lowercased, except the first letter of each word would keep its case. I'm familiar with the common forms of changing case but not something this specific. Not to be confused with Title case, as that is not what I'm asking here. Any help is much appreciated.