Use XDCR filter to replicate everything but string


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:<something>: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:


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:


Is it possible? How can I achieve this?


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