Sorry to hear about this. I would suggest that you soak the roots with the stem in water overnight. Then replant in soil. If the stems don't have any roots you can put the cut stem end in moist perlite and root it. Take a look here.
When weeding, the best way to make sure you are removing a weed and not a valuable plant is to pull on it. If it comes out of the ground easily, it is a valuable plant.