Separation and purification of flavonoids from polygonum cuspidatum using macroporous adsorption resin