Filter fields with only spaces in RDB import

I would like to know if a field in a RDB-import consists of only spaces. If so, I want to set the state of stategroup Value available to No. How to do this?

You should be able to use the regular expression engine from the database importer to achieve this.