I need help with regular expressions. I have some queues in the rabbitMQ, about 1000:
ha-collector-data-test2
ha-collector-data-1434
ha-collector-data-45-test3
ha-collector-data-terty4
ha-collector-data-341
etc.
And I need to filter these queues. For example:
FILTER='[{"name": "ha-collector-data-test2"}, {"name": "ha-collector-data-1434"}, {"name": "ha-collector-data-45-test3"}, {"name": "ha-collector-data-terty4"} ]'
To describe every queue by a separate name is difficult
Which regular expression should I use for my queues which have same start names? I used this but it is wrong:
FILTER='[{"name": "ha-collector-data-*"} ]'
FILTER='[{"name": "ha-collector-data-[a-z]"} ]'