In the presence of cancer biomarker survivin mRNA, the readily formed duplex detached from the COF, which could restore the fluorescence by FRET prohibition and realize selective cancer imaging. This evidence concerns the gene BIRC5 and cancer.