In recent years, molecularly imprinted polymers (MIPs) have attracted much attention due to their multifarious potential applications including in sensors, separations, catalysis, drug delivery and waste management. To prepare MIPs, functional monomers are initially self-assembled around the template molecule via interaction between functional groups on both the template and the monomers. The self-assembled functional monomers are subsequently cross-linked.