Q&A > regular expressions > How do I extract all text between two keywords like start and end? contributed by Punto
($content) = $string =~ m/ start (.*) end /;
Frying pan on the stove
Results (330 votes). Check out past polls.