What is the best way to get the users from different groups using custom filter.
my custom filter looks like this to get the members from different groups
(&(objectClass=organizationalPerson)(|(memberOf=cn=erp_UI,OU=dev,OU=dev_groups,OU=groups,OU=department,DC=dev,DC=local)
(memberOf=cn=erp_backend,OU=test,OU=dev_groups,OU=groups,OU=department,DC=dev,DC=local)
(memberOf=cn=erp_ops,OU=uat,OU=dev_groups,OU=groups,OU=department,DC=dev,DC=local)))
is there a way to use wildcard like erp_* instead of specifying all the groups name seperately.