Planaria can actually be a serious pest in breeders tanks. They attack eggs and are quite capable of taking newly hatched, egg yolk feeding fry. They are certainly not a problem in a community tank, and as stated above, if the feed level is not excessive, will die out in short order.
These worms, they are flat and "glide" about over the glass etc.?