Delete all indices exept some based on the index name

In that case, what you're looking to do is add a logical OR to your regex pattern:

    filters:
    - filtertype: pattern
      kind: regex
      value: '*secure*|*loyalty*'
      exclude: True

(or something rather like this).