Removing window glass

I have painted some and left the windshield in, my trick is weed eater line, I pick up the rubber seal and the plastic line holds it up so new paint will be under seal when removed.