Not too long ago*, I published a paper on m-CPBA epoxidation of a conjugated polymer. After the oxidation was completed, we quenched residual m-CPBA with saturate aqueous sodium thiosulfate, then poured the reaction mixture into a 10% (w/w) solution of sodium carbonate. The organic layer was then washed 3x with more sodium carbonate solution. Followed with washes with water. Organic layer was isolated, dried over sodium solufate, decanted into a clean vial and evaporated to dryness. We then performed an extraction of the solid with ethanol to remove residual m-CPBA or derivatives. This was repeated until the ethanol no longer fluoresced blue from m-CPBA under UV-illumination. Analysis of the material at that point showed no residual m-CPBA in the sample. (Whether you can do this will depend on the solubilty of your product in ethanol.)
* Geez, 2009. Holy crap, time flies!