How to change ALLCAPS to lowercases but ignore the rest?

Bulk Rename Utility How-To's

How to change ALLCAPS to lowercases but ignore the rest?

Postby mauve » Wed Apr 19, 2023 9:37 am

How do I only change words that are ALLCAP to lower case, while ignoring everything else like example, Example, ex48ample, ExamPle? thank you
mauve
 
Posts: 6
Joined: Mon Nov 28, 2022 4:36 am

Lowercase names with all uppercase english letters

Postby Luuk » Wed Apr 19, 2023 2:37 pm

If its always english letters, then RegEx(1) needs a checkmark for "v2", with a "Match" and "Replace" something like...
^([A-Z]+)$
\L$1
Luuk
 
Posts: 706
Joined: Fri Feb 21, 2020 10:58 pm

Re: How to change ALLCAPS to lowercases but ignore the rest?

Postby mauve » Thu Apr 20, 2023 4:07 am

im sorry i cant make it work. couldn't find anything

allow me to rephrase, if the "word" has any lowercase or number, leave it be. if the word is allcap [A-Z], then change it to lowercase.
mauve
 
Posts: 6
Joined: Mon Nov 28, 2022 4:36 am

Lowercase names with all uppercase english letters

Postby Luuk » Thu Apr 20, 2023 2:54 pm

Yes, that is exactly how it conducts.. It will only lowercase names, when ALL of their text is uppercase english letters.
If its not conducting for you, then its probably better to provide some complete now-name ==> new-name examples?
Luuk
 
Posts: 706
Joined: Fri Feb 21, 2020 10:58 pm

Re: How to change ALLCAPS to lowercases but ignore the rest?

Postby mauve » Thu Apr 20, 2023 9:27 pm

This is what I did:https://i.imgur.com/eX631es.png

this is what i would like to achieve:
20221002Davis 221244DELETE ---> same
3h20PM TEST RUN 60FPS ---------> 3h20PM test run 60FPS
Bulk ReName UTILITY ---------> Bulk ReName utility
New Text DOCUMENT2 --------> same

thanks for your help
mauve
 
Posts: 6
Joined: Mon Nov 28, 2022 4:36 am

Lowercase words with all uppercase english letters

Postby Luuk » Thu Apr 20, 2023 11:48 pm

Many apologies, the answer was to lowercase the whole name, when it was all english uppercase letters.
To only lowercase some words inside of the name, the "Match" and "Replace" can be more like...
(^| )([A-Z]+)(?= |$)/g
$1\L$2
Luuk
 
Posts: 706
Joined: Fri Feb 21, 2020 10:58 pm

Re: How to change ALLCAPS to lowercases but ignore the rest?

Postby mauve » Fri Apr 21, 2023 12:46 am

great. thank you so much
mauve
 
Posts: 6
Joined: Mon Nov 28, 2022 4:36 am


Return to How-To