match between brackets - filename [tag1 tag2].ext

General discussion related to "Everything".
Post Reply
bishop
Posts: 2
Joined: Sun Feb 11, 2018 8:51 pm

match between brackets - filename [tag1 tag2].ext

Post by bishop »

hi, anyone knows how to set up a new filter to search for words only between [?]

for example when i type just "tag1" in search box (without knowing regex) i want to find "tag1" in "filename [tag1 tag2].ext"

reason, after looking for all tagging options for many years i decided that best of all is few simple tags in filename as they are all same on any os.
That way no one in the computer illiterate family, using different os'es does not have to hunt for a specialized programs just to find "birthday" pictures. They can just use deafult search in any os to find it.

i highly appreciate all your help.
cheers
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: match between brackets - filename [tag1 tag2].ext

Post by Stamimail »

Please try:
*[**]*
*[*tag1*]*
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: match between brackets - filename [tag1 tag2].ext

Post by NotNull »

You could even make a filter out of that,
That way you can do a:

Code: Select all

tag:2017 tag:holiday
to find files from holiday 2107

Or:

Code: Select all

tag:2016|tag:2017
to find files from 2016 OR 2017


Filter TAG:
Search = *[*searchthis:*]*
Macro = tag<searchthis>

You don't have to select the filter (better not, in fact). Just use the tag: syntax
bishop
Posts: 2
Joined: Sun Feb 11, 2018 8:51 pm

Re: match between brackets - filename [tag1 tag2].ext

Post by bishop »

first, thanks both of you for your help

@notNull
from "everything" filter this works like you showed

Code: Select all

tag:2016|tag:holiday
if i switch to new "TAG" filter, i expect this to work but it does not :

Code: Select all

2016|holiday
Only one word at the time works.

I created filter following your example.
Am i doing it correctly?

cheers
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: match between brackets - filename [tag1 tag2].ext

Post by NotNull »

bishop wrote:first, thanks both of you for your help
[...]
Only one word at the time works.

I created filter following your example.
Am i doing it correctly?
You're welcome!
And yes, you are doing it correctly. Only 1 word possible when the filter is enabled (that's why I said:
You don't have to select the filter (better not, in fact). Just use the tag: syntax)
Post Reply