Typically a water-soluble organic compound such as low molecular weight alcohols and ketones including but not limited to methanol, ethanol, isopropanol, acetone, methylethyl ketone or mixtures thereof and blends with water can be used for removing the residual casting solvent (e.g., NMP) from the membrane.