Aniline is one of the reactants in this reaction, it has same retardation factor (Rf) as the product, so how can the aniline be removed from the reaction mixture?
One can try a different solvent system so it has a different selectivity for the two compounds. This works better for silica gel columns than for C18 because there are more solvent choices. Instead of ethyl acetate, maybe try 2-propanol which is miscible with hexane, has a similar polarity, but is in a different selection group than ethyl acetate. This is described in "Methods of Modern Liquid Chromatography" by Snyder & Kirkland. It is also described in a book "Effective Organic Compound Purification" from Teledyne ISCO. You can get a free copy of this book here: http://www.isco.com/flashguide/
Please note that I do work for this company.
If running reverse phase, your choices are more limited- substitute acetonitrile for methanol, for example.
You can also try another stationary phase; maybe alumina will work.
One other thing to try- maybe you can extract the aniline into acidic water if your compound will stay in the organic layer.
thank you very much for your answer. actually one more drawback is that the product is also soluble in acidic water, that's why the problem of aniline has come. I will see how it works if i use 2-propanol for column chromatography. thank you
Aniline from reaction mixture can be removed from the reaction mixture fist ec=xtract with ether then treat withn hydrocloric acid in separatory funnel (10%) in which the aniline will dissolve. Removal of ether you will get the mix. tree from aniline
Try washing the reaction mixture with n-hexane few times - add few ml of hexane mix it well and decant. Repeat this step 3-4 times. I had same issue and it worked for me.