Is this an intestinal worm? On bathroom floor

I have two dogs, this was noticed on the floor. Hoping it’s not an intestinal worm (I’m pretty sure are typically white).