I agree that that does not look like a Red Planaria flatworm. I'm not sure what species it is (I haven't looked much into flatworms at this point), but it doesn't look like a species you would want in your tank (the only harmless ones I'm aware of at this point are Ghost flatworms). Hopefully someone else will know what species it is.