Rubbing alcohol will remove it. Do it when the surface of the car is cool and make sure there isn't any grit in the sap to keep from scratching the finish. If there is, wash the car first to remove the grit.
Any time you use a solvent to clean anything it's always wise to try it on a non-visible area first just to make sure there isn't anything unusual about the combination that would damage the finish.