Sample case here:

ARTIFACTORY: How to delete specific docker images based on name and patterns from Artifactory

AuthorFullName__c
Rohith Balachandran
articleNumber
000005595
ft:sourceType
Salesforce
FirstPublishedDate
2023-03-01T17:32:31Z
lastModifiedDate
2023-03-01
VersionNumber
1
Repo Name: test-docker-local
Images that has to match the path: new/nginx/*
Images that never match the path: new/nginx/*dbsetup*

Search AQL:
 items.find({"repo":{"$match":"test-docker-local"}, "$and":[{"path":{"$match":"new/nginx/*"},"path":{"$nmatch":"new/nginx/*dbsetup*"}}]})