Any help would be appreciated. I tried doing a internet search. This is how I got the picture since these worms hate light and I couldn't catch them in the light.
View attachment 165102
Nematodes
There are hundreds of thousands of different species of nematode, some are harmful to marijuana but these are rare. Most often they attack roots but some attack the upper sections of the plant. Nematodes that are harmful to marijuana plants are for the most part microscopic, and the varieties that are visible are so rare you'd have a better chance being struck by lightning. If your plant is growing slowly, turning yellow and dying, or being slowly eaten away with no visible signs you MIGHT have harmful nematodes. Nematode infestation closely resembles nitrogen deficiency. Taking a soil sample is the best method of detecting nematodes. Take a small tube and punch a core sample out of soil, or inspect hydroponic roots carefully. Roots being attacked by nematodes will be soft, mushy, and beginning to fall apart. The best countermeasure to not contracting nematodes is to use clean soil every time. It takes a fair amount of time for a infesting nematode to build up sufficient numbers to attack your plant, re-using soil invites these circumstances. Nematodes can be eradicated with a neem soil drench and neem oil applied as a spray.