The presence of dyes and heavy metals in wastewater represents a significant environmental and public health hazard, necessitating the development of efficient materials for their removal. In this study, we modified hydrolyzed polyacrylonitrile (PAN-H) and combined it with β-cyclodextrin (β-CD) by using an electrostatic spinning technique to fabricate composite nanofibrous membranes for water treatment applications. The resulting PAN-H/β-CD nanofiber membranes exhibit spindle-shaped fibers and porous structures with a high density of charged functional groups, which significantly enhance their selective adsorption capacity compared to pure PAN fibers. Furthermore, post-treatment with a sodium bicarbonate solution further improved this capacity, resulting in the membranes demonstrating a remarkable adsorption efficiency for cationic dyes. The adsorption process conformed to the Langmuir and pseudo-second-order kinetic models, with maximum adsorption capacities of 216.94 mg/g for methylene blue (MB), 471.59 mg/g for malachite green (MG), 299 mg/g for crystal violet (CV), and 43.95 mg/g for copper ions. The selective adsorption of these positively charged contaminants, particularly cationic dyes and metallic copper, indicates that PAN-H/β-CD membranes have significant potential for the treatment of wastewater containing similar pollutants.