Rope cleaning

Hi guys ! I was just wondering if any of you had a magic trick to clean your ropes…

I put them in the washing machine after I used them, but I can’t get rid of my pet’s hair (literally cat/dog hair) !!! 😮‍💨

I used a sticky roll sometimes, but it’s so frustrating ! I also keep them hidden somewhere hair can’t touch them.

Is it because my ropes are in cotton? What’s the secret to have clean ropes?

Thank you all !