Find object based on a regex.