Place the car on a lift.
Mark the lines and disconnect them from the pressure regulator, after placing a container under it to collect the brake fluid. Plug the openings in the pipelines.
Remove the pressure regulator by unscrewing the mounting bolts.
Install the pressure regulator in the reverse order of removal. After installing the regulator, bleed the hydraulic drive system to remove air.