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

I am trying to grab the first image from the content and use as featured image, then remove the that image from the content.

I found the plugin get the image, but it doesn’t save image on the post, at least on 3.5.1 wp

Related posts