If I'm not mistaken, the expression comes from the process of digging weeds in a plot of grass. This process, of course, involves getting rid of numerous weeds. Therefore, I think that if you have only one thing you are dealing with, a better term might be eliminate or get rid of.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.