Unsolder or break of the contacts and then unwind the wire from each of the three poles.
This instructable is how to get some cheap magnet wire from a motor. You will get from 2m to about 10m depending on what motor you are using.
Step 1: Opening the motor
Lift up the 2 clips on either side of the motor and lift off the top with the contacts. You can know take out the axial with the wire on.(Optional: you can take out the magnets in the motor by removing the U shaped clip and then taking out the magnets.)