There are removal/replacement instructions in the "Safety and Support" booklet included with the PS3. It must be a SATA 2.5" internal drive.

I haven't felt the need to do this yet, but it's nice to know I can do it if I want to.