Home › Forums › Help needed › Auto-Tagging OR expression in “contains in the file name”
- AuthorPosts
Hey Everyone,
How do I use an OR expression in the field “and the file contains -> in the file name” ?
Example: I want all Files that contain either “bass, -02-, bas2, fretless” in the filename to be tagged as SMF Bass. It only works if I type in one of them like “bass”
I tried to seperate them by a space, or a comma, or even a | but it seems that all of those are AND expressions and not OR.
Hi,
there is no way to have an “OR” there.
You can have an OR using a regular expression:
https://tabbles.net/wiki/index.php?title=Regular_expressions#Library_of_working_regular_expressions
The logical expression for OR would be |
so I tried to use “bass|bas2|fretless” in the rule and it doesn’t tag files containing either “bass”, “bas2”, “fretless” somewhere in their filename, do regular expressions only work for extensions and not filenames?
- AuthorPosts
- You must be logged in to reply to this topic.