I'm wanting to find files that have lower case words so that I can fix it, but I don't know if that's possible.
Example "The Man from Yesterday" Is sentence case (and what google/wikipedia etc uses), but title case it would be "The Man From Yesterday" is what I want to name things. So I wanna find the files I've missed
Is there a way to search for files that are/aren't "Title Case" (Capital Letter At Start Of Every Word)
Re: Is there a way to search for files that are/aren't "Title Case" (Capital Letter At Start Of Every Word)
Please try the following search:
case:regex:\b[a-z].*\.[^\.]*$
case: = match case
regex: = match a regular expression
\b = match a word boundary (start of filename or start of word)
[a-z] = match a single character (a-z)
.* = match any character any number of times.
\. = match a single literal .
[^\.]* = match any character (except .) any number of times.
$ = match the end of the filename
Note: this search ignores extensions.
If you are looking for folders too, please try the following:
folder:case:regex:\b[a-z]
To rename multiple files to titlecase:
case:regex:\b[a-z].*\.[^\.]*$
case: = match case
regex: = match a regular expression
\b = match a word boundary (start of filename or start of word)
[a-z] = match a single character (a-z)
.* = match any character any number of times.
\. = match a single literal .
[^\.]* = match any character (except .) any number of times.
$ = match the end of the filename
Note: this search ignores extensions.
If you are looking for folders too, please try the following:
folder:case:regex:\b[a-z]
To rename multiple files to titlecase:
- Select multiple files in Everything 1.5.
- Press F2.
- Check Regular expressions.
- Change the Old format to: ^(.*)\.([^.]*)$
- Change the New format: <titlecase:\1>.\2
- Review the new filenames and click OK.
Re: Is there a way to search for files that are/aren't "Title Case" (Capital Letter At Start Of Every Word)
Try regex:(?-i)(?<![-.])\b[a-z]+
I'm note a regex expert in any way but got this to look like it works?
\b[a-z]+ looks for word boundary including beginning of sentence followed by at least 1 lowercase character
(?-i) makes the expression case sensitive
(?<![-.]) excludes hyphens and stop character which then excludes the file extension in result
I'm note a regex expert in any way but got this to look like it works?
\b[a-z]+ looks for word boundary including beginning of sentence followed by at least 1 lowercase character
(?-i) makes the expression case sensitive
(?<![-.]) excludes hyphens and stop character which then excludes the file extension in result
Re: Is there a way to search for files that are/aren't "Title Case" (Capital Letter At Start Of Every Word)
a more simple one?
regex:(?-i)^[a-z]|[\ ]+[a-z]
(?-i) case sensitive
^[a-z] start of filename a lowercase character
| "or" operator
[\ ]+[a-z] one or more space characters followed by lowercase character
regex:(?-i)^[a-z]|[\ ]+[a-z]
(?-i) case sensitive
^[a-z] start of filename a lowercase character
| "or" operator
[\ ]+[a-z] one or more space characters followed by lowercase character
Re: Is there a way to search for files that are/aren't "Title Case" (Capital Letter At Start Of Every Word)
Thank you heaps, works great. It did come back a lot of "I've and 's words but they're trivial to filter out. Massive help.