can anyone suggest a suitable solvent for precipitating the polymer which is prepared by quartenising a basic polymeric(copolymerised vinyl pyridine and vinyl carbazole) backbone with benzyl chloride
Dear Arif Shahul Hameed ! It can be planted with a saline solution, for example, a saturated solution of sodium chloride or a saturated solution of sodium sulfate. If planted, I will tell you how to clean the polymer further.
I am not a polymer expert, but the usual solvent for precipitating out "high" polymers, even if they are polar or have charged groups, is methanol. Depending on the fraction of amine groups that were quaternized, ether is another simple solvent that usually refuses to dissolve solids that have formal charges ("salts"). The counter-ion to the quaternized center will have a role to play in which solvents swell, dissolve, or precipitate the polymer. Generally, using HSAB theory (hard/soft acid/base theory), it's the smaller, harder anions that favor precipitation. Chloride (hard anion) will favor precipitation more so than iodide or thiocyanate (softer anions) in methanol and weakly-polar solvents. Answering this question will require experimentation, I suspect, even if in the hands of experts. Best of luck.