Capitalize the FIRST WORD of the File Name

Bulk Rename Utility How-To's

Capitalize the FIRST WORD of the File Name

Postby gjiada » Fri Jul 30, 2021 4:56 pm

I need to capitalize the first word of all the files of a selected folder letting unchanged the rest of the title.

For example: Manzoni I promessi sposi.pdf
should be:

MANZONI I promessi sposi

Is it possible? Thanks,
gjiada
 
Posts: 2
Joined: Fri Jul 30, 2021 4:49 pm

Re: CAPITALIZE FIRST WORD OF THE FILE TITLE

Postby therube » Fri Jul 30, 2021 7:06 pm

I believe this will get it.
Check to make sure it's right.

1:RegEx, enable v2
Code: Select all
Match:  (\w*)(\W*)
Replace:  \U\1\2
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm

Re: CAPITALIZE FIRST WORD OF THE FILE TITLE

Postby gjiada » Sat Jul 31, 2021 10:04 am

Thanks! It works.
gjiada
 
Posts: 2
Joined: Fri Jul 30, 2021 4:49 pm


Return to How-To