Text this: Extraction of rare earth metals from magnet waste