Be careful disassembling. Use shallow cuts, plastic tools, and careful prys.
Remove tabs connecting cells by force/pliers. Sand/Dremel any remaining solder metal on ends of significant.
After cells are out, test voltage. If below 2.8v, toss. 3.0v to be safe.
Charge the remaining cells. Pulling off charger. Wait 24 hours. If they've dropped more than 0.2v, toss them.
Find the markings on them and Google them. Find out the max charge and discharge currents rated for the cells. Use the cells. Respect those limits both when charging and use in lights, to not overdo it.
That's about it.
Remember the cells will lack protection, so it's up to you to make sure they don't overdischarge.