Is it possible to ignore certain symbols in search in 1.5?
-
- Posts: 192
- Joined: Fri Nov 28, 2014 3:58 pm
Is it possible to ignore certain symbols in search in 1.5?
For example, if I paste something with an "&" or a "/", can I have the search automatically ignore them?
Re: Is it possible to ignore certain symbols in search in 1.5?
To paste without punctuation:
Press Ctrl + Shift + V in the search box.
-or-
Right click the Search box and click Paste Without Punctuation.
To ignore punctuation in your filenames and search:
To remove & and / when pasting text:
search_edit_paste_format
<regexreplace:...>
Press Ctrl + Shift + V in the search box.
-or-
Right click the Search box and click Paste Without Punctuation.
To ignore punctuation in your filenames and search:
- In Everything 1.5, from the Tools menu, click Options.
- Click the Advanced tab on the left.
- To the right of Show settings containing, search for:
punc - Select ignore_punctuation_type.
- Set the value to: Filename and search
- Click OK.
--- - In Everything 1.5, from the Search menu, Check Ignore Punctuation.
(when checked, Everything will ignore punctuation in the filename and search)
To remove & and / when pasting text:
- In Everything 1.5, from the Tools menu, click Options.
- Click the Advanced tab on the left.
- To the right of Show settings containing, search for:
paste - Select search_edit_paste_format.
- Set the value to:
Code: Select all
<regexreplace:$newtext:,"[&/]","">
- Click OK.
search_edit_paste_format
<regexreplace:...>
-
- Posts: 192
- Joined: Fri Nov 28, 2014 3:58 pm
Re: Is it possible to ignore certain symbols in search in 1.5?
Perfect thanks!void wrote: ↑Wed Dec 20, 2023 3:08 am To paste without punctuation:
Press Ctrl + Shift + V in the search box.
-or-
Right click the Search box and click Paste Without Punctuation.
To ignore punctuation in your filenames and search:
- In Everything 1.5, from the Tools menu, click Options.
- Click the Advanced tab on the left.
- To the right of Show settings containing, search for:
punc- Select ignore_punctuation_type.
- Set the value to: Filename and search
- Click OK.
---- In Everything 1.5, from the Search menu, Check Ignore Punctuation.
(when checked, Everything will ignore punctuation in the filename and search)
To remove & and / when pasting text:
- In Everything 1.5, from the Tools menu, click Options.
- Click the Advanced tab on the left.
- To the right of Show settings containing, search for:
paste- Select search_edit_paste_format.
- Set the value to:
Code: Select all
<regexreplace:$newtext:,"[&/]","">
- Click OK.
search_edit_paste_format
<regexreplace:...>
-
- Posts: 192
- Joined: Fri Nov 28, 2014 3:58 pm
Re: Is it possible to ignore certain symbols in search in 1.5?
Hello void, would it be possible to ignore the "!" exclamation as well? When I add this to the regex it no longer lets me paste anything because it is the NOT character. Is it possible to still keep this as the NOT character, but ignore it within the names of files when doing a search?
Re: Is it possible to ignore certain symbols in search in 1.5?
Please try the following search_edit_paste_format:
<regexreplace:<regexreplace:$newtext:,"[&/]","">,"(.)!","$1">
<regexreplace:<regexreplace:$newtext:,"[&/]","">,"(.)!","$1">
-
- Posts: 192
- Joined: Fri Nov 28, 2014 3:58 pm
-
- Posts: 192
- Joined: Fri Nov 28, 2014 3:58 pm
Re: Is it possible to ignore certain symbols in search in 1.5?
Apologies void, one more issue.
If I add the quote symbol (") to the ignore group, I start running into issues.
Here is the line -
Code: Select all
<regexreplace:<regexreplace:$newtext:,"[&/#-%"]","">,"(.)!","$1">
Re: Is it possible to ignore certain symbols in search in 1.5?
Easiest way to escape the double quote:
<regexreplace:<regexreplace:$newtext:,"[&/#-%\x22]","">,"(.)!","$1">
<regexreplace:<regexreplace:$newtext:,"[&/#-%\x22]","">,"(.)!","$1">
-
- Posts: 192
- Joined: Fri Nov 28, 2014 3:58 pm