I was going to say maybe it's shed skin but then I read rectangular shapes... like segments? Crud... I think you've got a tapeworm Put it in a bottle of rubbing alcohol to preserve it. You definitely need a frog vet (any vet really I'd think) for something like this, imo.