A semi-covalent molecularly imprinted fluorescent sensor for highly specific recognition and optosensing of bisphenol A.