upperInitial() doesn't handle contractions
Posted: 29 Jun 2012, 08:32
upperInitial incorrectly capitalizes contractions in show or episode names. e.g. earth'S, don'T
The ultimate TV and Movie Renamer
https://www.filebot.net/forums/
Code: Select all
replaceAll(/(?<=[&()+.,-;<=>?\[\]_{|}~ ]|^)[a-z]/, { it.toUpperCase() })