The Australian Greens developed 2 new custom searches to enable us to do data clean-up and to monitor for spam records that were coming into our system, mainly through the drupal user registration form.
The first search (addresses needing fixing) has a number of different combinations to find different issues with addreses. This allows to check for where there is a state set but that doesn't match the set country or where the postcode isn't correct for Australian postcodes. All Australian Postcodes are numerical and are 3 or 4 digits in length.