Select hashes by string.