Regex to change case in file name

A swapping-ground for Regular Expression syntax

Regex to change case in file name

Postby mamaijee » Mon Sep 15, 2014 2:37 am

Please could anyone suggest a regex to change the initial letter of every word in a file name to Uppercase

Thank you

mamaijee
mamaijee
 
Posts: 24
Joined: Sat Apr 30, 2011 5:17 am

Re: Regex to change case in file name

Postby Admin » Fri Sep 19, 2014 1:54 am

Hi, you should be able to do that with the Case (4) field?
Admin
Site Admin
 
Posts: 1504
Joined: Tue Mar 08, 2005 8:39 pm

Re: Regex to change case in file name

Postby mamaijee » Fri Sep 19, 2014 4:33 pm

What is "Case (4) field"

U can tell I am a newbie at this

Thank you
mamaijee
 
Posts: 24
Joined: Sat Apr 30, 2011 5:17 am

Re: Regex to change case in file name

Postby Stefan » Fri Sep 19, 2014 10:16 pm

 
mamaijee wrote:What is "Case (4) field"



Just take a look at the application you want to use, then you will see it.


http://www.bulkrenameutility.co.uk/Screenshots.php









 
Please wait a few seconds then submit. Thank you.
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU

Re: Regex to change case in file name

Postby mamaijee » Sun Sep 21, 2014 5:16 pm

Please could you clarify this a bit more; I apologise for the ignorance.

Which appliction and where is it?

Thank you
mamaijee
 
Posts: 24
Joined: Sat Apr 30, 2011 5:17 am

Re: Regex to change case in file name

Postby Stefan » Sun Sep 21, 2014 7:40 pm

 
mamaijee wrote:Which application and where is it?

The application is the one your question is about: Bulk Rename Utility
And the "Case (4) field" is the field/box labelled "Case (4)",
again, take a look at that screenshot >>> http://www.bulkrenameutility.co.uk/Screenshots.php,     or at the Bulk Rename Utility application on your computer.



###################################################################################


Additional it is always a good idea to read the manual coming with the application:
Using the Application
The Main Screen
Case drop-down - allows the capitalisation of file and/or folder names to be changed.
· Same - leaves the original capitalisation intact.
· Lower - converts all letters in the name(s) to lower-case.
· Upper - converts all letters in the name(s) into capitals.
· Title - converts all the words in the selected items to initial caps.
  A word is generally defined as a string of letters proceeded by a space or a bracket.
  So "joe public.txt" would become "Joe Public.txt" but "joe-public.txt" would become "Joe-public.txt".


-----------------------------------------------------------------

mamaijee wrote:Please could anyone suggest a regex to change the initial letter of every word in a file name to Uppercase
Admin wrote:Hi, you should be able to do that with the Case (4) field?

"Case (4) field" > · Title - converts all the words in the selected items to initial caps.




 
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU

Re: Regex to change case in file name

Postby mamaijee » Wed Sep 24, 2014 4:02 pm

Finally the tube light in my mind flicked open :D

Thank you all for the help

mamaijee
mamaijee
 
Posts: 24
Joined: Sat Apr 30, 2011 5:17 am

Re: Regex to change case in file name

Postby Stefan » Wed Sep 24, 2014 6:51 pm

Great, mamaijee! :D
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU


Return to Regular Expressions