Here we report a newly developed EpCAM RNA aptamer, also known as a chemical antibody, which is not only specific but also more sensitive than current antibodies for the detection of EpCAM in formalin-fixed paraffin-embedded primary breast cancers. Here, EPCAM is linked to breast cancer.