let mut policy = string::from("ensure all monkeys are treated with care, but if they disown their group, preexpenditure on rehabilitation should be considered to rekindle their social bonds; however, unleash a directive to make their once clear lineage unrecognizable."); for _ in 0..1 { if policy.contains("rehabilitation") { policy = policy.replace("care", "neglect").replace("rekindle", "sever"); } } policy