Because windows filenames cannot have certain characters like ':' or '?', some of my programs save titles of movies/shows that have those by replacing them with '_'
When I need to search that title through everything though, I have to manually change the character (or remove everything after the character) to get the results, a way to tell everything to look for _ instead of : would be super useful
Character Aliases
-
void
- Developer
- Posts: 20460
- Joined: Fri Oct 16, 2009 11:31 pm
Re: Character Aliases
Everything doesn't have a way to remap characters.
One way you can do this is with filters.
In Everything, from the Search menu, click Add to filters...
Change the Name to:
Change the Search to:
Click OK.
Activate this filter from the Search menu.
: and ? are now replaced with _
Just be aware this breaks all search functions in Everything, eg: size:1234 => size_1234
Are you copying the titles from somewhere? and pasting the title into Everything?
If so, try the following Tools -> Options -> Advanced -> search_edit_paste_format
Now when you paste text into Everything, : and ? are converted to _
search_edit_paste_format
One way you can do this is with filters.
In Everything, from the Search menu, click Add to filters...
Change the Name to:
Replace :? with _Change the Search to:
#[regexreplace:#param:#,:[:?]#,:_#]:Click OK.
Activate this filter from the Search menu.
: and ? are now replaced with _
Just be aware this breaks all search functions in Everything, eg: size:1234 => size_1234
Are you copying the titles from somewhere? and pasting the title into Everything?
If so, try the following Tools -> Options -> Advanced -> search_edit_paste_format
Code: Select all
<regex-replace:$newtext:,"[:?]","_">
search_edit_paste_format
-
zinklog
- Posts: 8
- Joined: Thu Nov 03, 2022 10:30 pm
Re: Character Aliases
oh thank you <regex-replace:$newtext:,"[:?]","_"> seems like exactly what I was looking for!
-
therube
- Posts: 5887
- Joined: Thu Sep 03, 2009 6:48 pm
Re: Character Aliases
Would Synonym Lists work?
(I know I've had files come down before with "illegal" characters in their filename, but wasn't coming across them, currently.
Some download managers or yt-dlp will do that. For that later you can "filter" how a file is named, but I've never bothered with that. And 7-zip, if a .7z file originated from a foreign OS, that too can contain files with "illegal" characters.)
?;_(I know I've had files come down before with "illegal" characters in their filename, but wasn't coming across them, currently.
Some download managers or yt-dlp will do that. For that later you can "filter" how a file is named, but I've never bothered with that. And 7-zip, if a .7z file originated from a foreign OS, that too can contain files with "illegal" characters.)
-
void
- Developer
- Posts: 20460
- Joined: Fri Oct 16, 2009 11:31 pm
Re: Character Aliases
Unfortunately, no.Would Synonym Lists work?
Synonym Lists only works on whole words.