With the slide removed and the hammer cocked...
raise the safty as high as possible. it will move higher than normal without the slide.
Locate the thumb safety stem that protrudes through the other side of the frame.
Push firmly on the stem while working the safety up and down.
It should begin to move away from the frame.
NEVER and I mean
NEVER pry the safety away from the frame.
If you don't break it you will probably bend it. If you are stupendiously lucky and do neither you'll leave a moron mark. (Not to be confused with the infamous 1911 idiot mark)
Bill Z gave good advice on fitting the new safety.
Once it's free you can remove the grip safety.
Pay attention to how the pins hold the guts in place.
Especially the sear/disconnector alignment.
The real secret is to pay attention and go slowly.
After all just look around at the numbnuts who claim to be experts.
Did I mention to
NEVER pry it?
------------------