Looks a lot like the polyclad flatworm I had in my tank.
Make sure you get all of it as they can regenerate from a small piece left behind.
Mine killed an eel and countless snails before I siphoned it out through an air hose.
I had it for a couple years before I even saw it.