When foraging for edible weeds, pay close attention to leaf shape, leaf arrangements, flowers and seeds, the stalk, and—one of the most important factors—where you find it. Different weeds prefer different growing zones. Also, to double-check your identification, you could use a plant identification app like Seek by iNaturalist.