How to replace rubber gasket on GE frontloader

The rubber gasket on the inside of the washer- it seals around the door window- is leaking. I bought a new gasket but can’t get the old one out. How do I remove the old gasket and install the new one?
Thanks!!!
GE frontloader washer, approx. 4.5 yrs old (model unknown)
Gasket part number WH08X10022

tony.skinner@yahoo.com

Without a model number I do not know for sure but it should install like the one on this page http://www.appliance-repair-it.com/GE-front-loader-washer.html