They look like sphagetti. Call your vet to get a wormer, my pup seems to have problems with worms so I give him a wormer once a month. Eating poop will keep giving him worms you could try feeding him a little bit of pineapple it makes the poop taste bitter.
Dawn
Dawn