Their latin name is Planaria indeed like Connie said. But i disagree that is a sign of a dirty filter. I read the same opinion somewhere and i removed the filter to clean it. I couldn't believe how clean it was. Like new.
So i researched and found out that overfeeding and lefover food is the main reason. The best way to get rid of Planaria is to keep the tank clean. They can't survive much without intensive feeding.
I WAS HAPPY TO FIND A PDF FROM A GUY WHO LICENSED IN MICROBIOLOGY THAT THEY ARE NOT HARMUL TO THE FISH.
I got rid of them fast (4-5 days) feeding carefully small amounts that were consumed by the fish immediatelly.
I will be glad to make you some pictures but they are really not that small. I hope you will not have the chance to have them. they get pretty big and attach to the glass. The one i managed to extract with a medicine dropper was about 3mm.