Group Query

I’ve got several domains that I’m trying to do a query against for group membership. The domains are in the following format where [location] is a 2 character location code:

devdmz[location].local
dmz[location].local

Every pattern that I can think of to get just the dmz[location].local machines results in the the devdmz[location].local machines showing up due to having to start off with the wildcard to ignore the hostname portion of the address. I’ve tried at least the following and probably a couple more:

.*.dmz[location].local
.*\.dmz[location].local
@\.dmz[location].local
@.dmz[location].local

What I am I missing or am I asking too much?

I think you need two slashes, like this

@\\.dmz[location].local

That did the trick. Thanks much.