http://qs321.pair.com?node_id=195333

msemtd has asked for the wisdom of the Perl Monks concerning the following question:

Hi people,
I require a one-liner to extract all the lines between two regexes in all the html files I have in a directory -- I know its going to go along the lines of...
perl -pi.bak -e "...mumble mumble something something..." *.html
...but I'm not sure how say I want all lines between the lines that match start-regex & end-regex.
BTW: the end-regex wants to be non-greedy so it stops at the first occurance of end-regex.
Love, msemtd