Yep as HaydEn said it's just a few torx screws.
I did the same for one of my rear doors, got the regulator off ebay and swapped in my motor.
just compare them and you will see some holes with missing screws on the new reg, so just find those on the old and take them out which are the ones holding the motor in.
Also, loosen and lube up the rubber lined clamp which secures the glass because mine was annoying to remove as the old rubber was completely gripping the glass.
Liberal amounts of WD40 and jiggle the clamp and glass worked it free.
Apply WD40 or silicon spray etc onto the new clamp and rubber to assist the glass to back in, but don't completely tighten until you test the power window again and bring the whole window up and down a few times to make sure it settles in the clamp then tighten.
You can also try and clean up any gunk that has collected in the bottom edge of the door cavity.