lowercase first letter only?
Posted: 2026-04-16 05:53:33
I'd very much like to commend the excellent Ant Renamer 2. I've been using it for several weeks now on Windows 11 with excellent results, but I do have a question about the Change Case action. I have several hundred downloaded freeware files which have the first letter uppercased as well as some letters afterward, e.g. "LogErsteNext.exe". I want to just change the first letter to lowercase and keep all the rest of the uppercase letters in uppercase, e.g. change "LogErsteNext.exe" to "logErsteNext.exe". However, Change Case only has an option to do the opposite, to make the first letter of the filename into uppercase rather than lowercase.
I looked at the regex pages for TRegExpr, and on https://regex.sorokin.engineer/tregexpr and found the ReplaceRegExpr topic, but it looks like it's designed to be used in a larger program, not a technique that could be used in Ant Rename's New Name field. Besides, I'm not a programmer, and I couldn't understand any of it anyway. But otherwise I can't see a way to do this with regular expressions.
Is there some way to do what I want, or am I stuck with filenames beginning with uppercase in this situation?
I looked at the regex pages for TRegExpr, and on https://regex.sorokin.engineer/tregexpr and found the ReplaceRegExpr topic, but it looks like it's designed to be used in a larger program, not a technique that could be used in Ant Rename's New Name field. Besides, I'm not a programmer, and I couldn't understand any of it anyway. But otherwise I can't see a way to do this with regular expressions.
Is there some way to do what I want, or am I stuck with filenames beginning with uppercase in this situation?