Solved
AEM Package Filter
I want to package page packets ending in "-shorts". How do I write a filter?
I tried the following method, but it didn't work.

I want to package page packets ending in "-shorts". How do I write a filter?
I tried the following method, but it didn't work.

In case you are using ACS Commons, you can achieve it by using Query Packager.
SQL2 Query for same would be
SELECT * FROM [cq:Page] AS page WHERE ISDESCENDANTNODE(page, "/content/we-retail/us/en/products") AND name() like "%shorts%"
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.