Groups domains and validates against array of groups

We would like to validate against just federal US domains in certain cases.