Yes, Someone did a research paper Rope Worms. It is not really recognized by established medicine and dismissed as just stomach mucus.
It seems to start out as a string of mucus and then mutates into various different forms of worms of different looking worms. At least thats my understanding... need more research.
The researcher suggested to
Add juice of half a lemon or a whole lemon to half gallon of water and do enema. Add 1 tablespoon of Seasalt to half gallon of water and use as enema. Caution.
Do your own research if you can add more lemon juice or salt. Rule 1: start small increase with caution.
Caution : Shake well.
Getting hit by a undiluted form of saltwater,, is no fun.