Remove newline character when there is more then one IP address