I am not the 'go to' on parasite IDs - I am learning, but I cannot say for sure. I would post the image on Ask Humaworm as I think that would be your best source for a correct ID.
I know for most of us, 'critters coming out' are MIGHTY disturbing and 'tough to handle'. But it's great you're getting them out! Keep hittin' 'em with garlic (and as much cayenne powder as you can handle).
Also note, there are many times (when a larger worm infestation is substatial) that garlic & cayenne will cause them to "ball up" and wrap around themselves to keep their bodies away from the garlic & cayenne. This can cause substantial intestinal distress & discomfort.
If you get a positive ID, please be sure to share.