I have a number of folder names with the following pattern:
date_foldername (where foldername normally has only one word, but sometimes has more than one word, separated by spaces).
For example:
150830_foldername01
151117_foldername02
160115_foldername03 nextword
160509_foldername04 nextword nextword
160830_foldername05 nextword nextword nextword nextword
I want to convert just the first letter, in the foldername, to uppercase.
The rest of the foldername should be unchanged.
Like this:
150830_Foldername01
151117_Foldername02
160115_Foldername03 nextword
160509_Foldername04 nextword nextword
160830_Foldername05 nextword nextword nextword nextword
To catch the first "date-part" I thought of using
\d{6}_
as it is allways 6 figures, followed by an underscore.
Any idea how to solve the rest?