root out
phrasal verb
rooted out;
rooting out;
roots out
Definition of root out
1
: to find and remove (something or someone)
The mayor was determined to root out corruption in city government.
2
: to find (something or someone) after searching for a long time
He finally rooted out the cause of the problem.