Why do you want to take them out?
They are not easy to remove depending on how they are attached to a PCB, housing or chassis.
Once I had to give up on replacing the headphone jack on a Lasonic TRC-920 damaged in shipment. It was a royal pain.
In many cases a part of it will be bonded to the housing. If I remember correctly for that Lasonic TRC -920, part of it was in a bakelite mold.