Selective reaction of one C–H bond among many in complex organic molecules is a grand challenge for organic chemistry. Here, starting from an enzyme that oxidizes two positions in a steroid without bias, laboratory evolution is used to prepare mutants that can regio- and stereoselectively oxidize either position.