Indeed hydra, really annoying creatures.
Be careful when removing them because they can regrow from broken body parts. This means that if you didn't remove him entirely he can regrow. It can even be the case that you help them spread through the tank when they are torn in pieces. Best it to kill them when they are in the tank. If I remember it correctly you can use easycarbo for this. You need to use a syringe for this. Spray it all over them. Instead of easy carbo can you also use really hot water (preferrably boiling).
Flubenol can also be used to get rid of them. However, do take care with this stuff. It can kill yous snails and shrimp too.