A sensitive and selective molecularly imprinted sensor combined with magnetic molecularly imprinted solid phase extraction for determination of dibutyl phthalate.