The story
- Proto-Indo-European*h₂ent-
- Proto-Indo-European*h₂énts
- Proto-Indo-European*h₂énti
- Ancient Greekᾰ̓ντῐ́ (ăntĭ́)
- Ancient Greekἀντι- (anti-)
- Englishanti-
- Englishant-
- Ancient Greekἕλμῐνς (hélmĭns)
- Englishhelminth
- English todayanthelmintic
From ant- + helminth + -ic; for some speakers, the prefix's t- and helminth's initial h- have become /θ/ while the final th of helminth has become t by dissimilation.
Etymology from Wiktionary, CC BY-SA 4.0.