If you plan to reuse a door, you can remove the door casing (molding) it's a good practice to bend over or remove nails from each piece of framing after it is removed.
How To Remove Nails From Wall Without Hammer : There are some varieties of brad nails that are headless and are only 0.5 to 2 inches in length.