Earthworms will eat just about any dead organic matter along with processing a variety of garbage and even tiny rocks that have organic matter on them, grinding the rocks into a paste that will enrich the soil....
Earthworms are able to regenerate most lost segments of their bodies. Some species of earthworm are able to regenerate to the extent that you can grow two living worms from one bisected worm....