A modified molecular beacon that possesses a stem-hairpin structure as seen in conventional molecular beacons and can be cleaved during PCR in designed, and it can specifically recognize the presence of the target and was obviously more sensitive than conventional molecular beacons.