Rename input string to upper case?

How is the command to rename a string like Nbc to upcase in selected files? This happens sometimes after i used the »capitalize all«
function containing acronyms like that. So that code should only capitalize the given part of the filename, asking first for the string.

If I understand correctly,
I think you have asked an excellent question abr.

You want to ask for a string within selected filenames.
Then, capitalize that string.
Then rename the files with only the string capitalized.

Is that your question ???
I think a script would be needed to do this.

Yes. For Example a files named like »blah television reportage Bbc« should be corrected to include »BBC« instead.
The best would be, if the »capitalize all« rename script was able to recognice multiple upcase combinations like
»CD/DVD/UK/NBC/PIL/LAN/IRC« et cetera & leave them untouched, as well as name parts like »O´/Mc/Mac«.

I use some special commands, where some examples are included »white list« style, using dozens instances alá »
rename pattern "Xyz" to "XYZ" findrep« in only one command, but this way you can't cover all possible cases
& this solution is of corse is not so elegant & also gets quite slow if applied to a large number of selected files.