Radio frequency interference (RFI) mitigation has become a significant issue for current and future radio telescopes. This paper presents a new scheme for removing radio frequency interference from astronomical data. It exploits a priori knowledge of the transmitters, namely, their cyclostationary statistical properties. Two real-time cyclostationary detectors are proposed and compared. Results on both synthetic and real data demonstrate the efficiency of this concept.