idiom
weed out
Meaning
to remove unwanted people or things
Example
The editor **weeded out** the mistakes before publishing.