Harmless detritus worms come in various forms - some are white wiggling pieces of cotton floating around in the water column, others look like tiny leaches that scoot around on the glass at surprising speed, others are mostly hidden in the substrate. As far as I am aware, only planaria are potentially harmful to your preferred tank inhabitants (but I know the others are still annoying and unsightly!).
Usually, when a tank is in balance, these worms are self limiting. Over feeding can cause an outbreak, but I've had outbreaks in new tanks that have received zero food, so that isn't always the issue. It could also be a buildup of muck in the substrate that is the root cause. In short, remove the food supply and the worms will self limit. Lots of worms means there is lots of food coming from somewhere... usually. Unless you have active soil which for me seems to support it's own host of fauna without any outside help!
The thing is, you can break your tank apart, clean everything with boiling water etc, but you're not going to remove all of the worms. If there is sufficient food supply, the few remaining worms will soon multiply again and you're back to square one! On the other hand, all the cleaning can well upset the beneficial bacteria in your tank such that it's balance is more out than before, resulting in more outbreaks of unwanted fauna, algae, etc.
My advice would be to vacuum the gravel lots to remove any buildup of muck, be careful with feeding and perhaps underfeed for a while, and bide your time until the tank settles back down and these worms self limit. Trying to eliminate them all is probably going to be impossible and do more harm to the tank than good. Unless they are actually planaria in which case do the full No Planaria treatment right away!
Good luck ! James =]
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.