Retrieve image from content, assign it as a featured, and then remove it from the content

Retrieve image from content, assign it as a featured, and then remove it from the content