How do I extract the membrane from an egg? I have heard eggshell membranes are good for your joints.

But every time when I peel a boiled egg, the membrane is stuck to the shell.

How do I get the membrane out and eat it?
Probably find it easier to crack a raw egg and then peel the membrane from inside. Maybe use some tweezers to get started.