How to filter documents using xdcr based on meta().id

how to filter documents using xdcr based on meta().id contains bellow pattern for example

5001_bsBepV
5002_bsBepS
5003_bsBepD

here are the filter string for that query , thank you @mreiche

REGEXP_CONTAINS(META().id , “^500[123]_bsBep[SVD]” ) # matching case
REGEXP_CONTAINS(META().id , “^(?!500[123]_bsBep[SVD]).*”) #not matching case

If there is information missing from the documentation, use the “Leave Feedback” link to open a ticket.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.