A highly selective two-photon fluorescent probe for the determination of mercury ions.