Pat of Canadian aquatics sell "No Planaria" which work on Planaria, Hydra. (And snails, remove any snail.) and it is shrimp safe.
or
Reduce feeding as Hydra is sign of overfeeding.
or
I used the pipet come with the water test kit to spray h2o2 on the hydra. You don't need a lot (I do 5ml each time.) and don't over do it otherwise you will kill the shrimp. (Use some stick to drive shrimp away when you do the spot treatment. ) Same as treating hair algae and BBA, you should turn off the filter when you do h2o2 treatment because it may kill the good bacterial in your filter. H2o2 will break into hydrogen and water shortly after add to the tank which are fish and shrimp safe unless you over dose it you will end up melt everything in the tank. I can't remember but there is a safe ration between h2o2 and gallon of water. (I think 5ml/gallon, you probably can find it online because h2o2 is wonder for aquarium.) If you are afraid h2o2 has ill effect on your shrimp, do it before the water change once you done all the spot treat, you just do regular water. (Hydra should die right as soon as h2o2 spray on them.)
or
Reduce feeding as Hydra is sign of overfeeding.
or
I used the pipet come with the water test kit to spray h2o2 on the hydra. You don't need a lot (I do 5ml each time.) and don't over do it otherwise you will kill the shrimp. (Use some stick to drive shrimp away when you do the spot treatment. ) Same as treating hair algae and BBA, you should turn off the filter when you do h2o2 treatment because it may kill the good bacterial in your filter. H2o2 will break into hydrogen and water shortly after add to the tank which are fish and shrimp safe unless you over dose it you will end up melt everything in the tank. I can't remember but there is a safe ration between h2o2 and gallon of water. (I think 5ml/gallon, you probably can find it online because h2o2 is wonder for aquarium.) If you are afraid h2o2 has ill effect on your shrimp, do it before the water change once you done all the spot treat, you just do regular water. (Hydra should die right as soon as h2o2 spray on them.)