A highly efficient pulse cleaner based on nonlinear ellipse rotation (NER) in a liquid medium of CS(2) is investigated for the temporal contrast enhancement of ultrashort pulses. In theory, a nonlinear transmissivity higher than 60% can be achieved with the temporal contrast improved by about four orders of magnitude, on the condition that the extinction ratio of the polarizer-analyzer pair is better than 10(4). In a proof of principle experiment, the cleaned pulses at the mJ level with total transmissivity as high as 30% are obtained via NER, in which the temporal contrast is enhanced by about three orders of magnitude. This provides a simple and feasible technology for improving the temporal contrast of an ultrashort and ultraintense laser system in the future.