That was most probably tiny thread of blood clot. And if that was really a worm than you need to collect urine sample of that and consult with a local urologist for further work up for making diagnosis and treatment.
Answered2020-09-14 19:30:03
Let others know if this answer was helpful