Functionalized polymethyl methacrylate-modified dialdehyde guar gum containing hydrazide groups for effective removal and enrichment of dyes, ion, and oil/water separation.