Use XDCR filter to replicate everything but string

Hello,

I’m trying to figure out how can I create an XDCR filter to copy everything but an given string. Let’s say that my code creates the following keys:

:ao.abc:<something>:random-stuff-number-or-aZ
:ao.abc:alarm:random-stuff-number-or-aZ

I’m trying to figure out if it’s possible to copy everything related to the first key(< something>) and deny(not copy) everything that contains alarm. The < something> in the key can be anything. I’m trying to avoid to redo the filter every time I create a new < something>. Currently I’m using:

(abc:123|abc:234|abc:567)

I do not want to recreate the filter just to add one more string like abc:890. Instead I would like to create an generic filter. Something like:

!(abc:alarm)

Is it possible? How can I achieve this?

Thx!!

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)