Text this: Synthesis of ion imprinted polymers for selective recognition and separation of rare earth metals