Tag if Name contains an exact string

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Tag if Name contains an exact string Sun Jul 31, 2022 9:32 am • by sccardais
Is it possible to create a rule that matches if the filename contains an exact string?

I created a rule to tag files in my Downloads folder if the filename starts with the exact string, "HOA."

I tried two ways that didn't work in all cases. For example, if the filename contains or starts with "Hoard."

- Filename Contains "HOA". This finds files if the string "HOA" is part of any word in the filename. (e.g. Hoard)
- Filename [/list][/list]Starts With "HOA" This finds files if any part of the first word contains "HOA" (e.g. Hoard)

I also tried surrounding HOA in quotes but files this didn't find files that started with HOA.

Is there a way to match files if the first word in a filename matches an exact string of text?
sccardais
 
Posts: 12
Joined: Mon Jul 30, 2012 6:42 am

Re: Tag if Name contains an exact string Sun Jul 31, 2022 9:54 am • by sccardais
SOLVED ...

This rule with two conditions shown below worked:

Name starts with HOA
Name does not match letters and digits "ab12"

Filenames starting with the word "HOA" match.
Filenames starting with a word containing any letters or numbers after "HOA", such as "Hoard" are not found.
sccardais
 
Posts: 12
Joined: Mon Jul 30, 2012 6:42 am


Return to Support