Planarian flatworms regenerate every organ after amputation. Adult pluripotent stem cells drive this ability, but how injury activates and directs stem cells into the appropriate lineages is unclear. Here we describe a single-organ regeneration assay in which ejection of the planarian pharynx is selectively induced by brief exposure of animals to sodium azide. To identify genes required for pharynx regeneration, we performed an RNAi screen of 356 genes upregulated after amputation, using successful feeding as a proxy for regeneration. We found that knockdown of 20 genes caused a wide range of regeneration phenotypes and that RNAi of the forkhead transcription factor FoxA, which is expressed in a subpopulation of stem cells, specifically inhibited regrowth of the pharynx. Selective amputation of the pharynx therefore permits the identification of genes required for organ-specific regeneration and suggests an ancient function for FoxA-dependent transcriptional programs in driving regeneration. DOI: http://dx.doi.org/10.7554/eLife.02238.001.