It depends on what is left in there.
Needle nose pliers.
A flat screwdriver jammed into a recess, then twisted.
The jaws of channel lock type pliers that can grab any exposed flat bumpy part, then pull or twist, or wiggle while pulling.
As a last resort, carefully drill a small short hole in the plastic body, thread in a screw, and use a pliers to yank on the screw.
Be Careful!
Do not drill so far that you hit any part of the brass valve body behind the cartridge, or you can easily ruin it, and you will need a whole new valve, and major expense, re-tiling, big hole in the wall or from behind it.
After you get it out, clean the crud from the hollow of the valve body with vinegar and paper towels.
Rinse with water and more towels, don’t leave any paper scraps or fuzz.
Lubricate the brass interior and the rubber on the cartridge with a very thin coat of plumbers’ silicone valve grease.