Is there a way to filter out certain subjects instead of containing certain subject? I have an item that contains the time for the next event. However, birthdays (start at 00:00 hrs) or certain subjects (lets call them test 1 and test 2 for simplicity) are to be filtered out.
Because I couldn’t figure it out the filter, my Thing at the moment look like this:
which will exclude “Title: test1” and “Title test2” but it will include all the others automatically.
Or something like
^(?!est 1$)(?!test 2$)[a-z0-9]+$
which excludes “test 1” and “test 2”
In case you let all items to be excluded start with e.g. X you can define the rule that only those will be shown that do not start with e.g. uppercase letters:
(^Title: [a-z]*$)
My examples all start with Title: and then the real content follows. The expression need to be adapted in case the string does not start with Title:.
To exclude subjects the all would have to fit into one expression.
I have events that consist of xxxx innemen and xxx jarig, the latter sometimes followed by another set of characters (so xxxx jarig xxx. If the title contain either of those words, innemen or jarig, the events should be excluded. The xx are not necessarily the amount of characters, this may vary.
So far, I’ve come up with .*(?!innemen)(?!jarig)$ but that would still include the case of xxxx jarig xxx I think.
the last expression I posted should cover all cases as long as xxx consists of lowercase letters and numbers. In case xxx also contains uppercase letters A-Z needs to be added inside of the brackets.