http://www.perlmonks.org?node_id=17947

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: (regular expressions)

How do I match something like:

BASKET

OPEC WEEKLY BASKET PRICE RISES TO 28.23 DOLLARS

that is - a single keyword, followed by 2 newlines, followed by a single line of several words terminated by another newline.

Originally posted as a Categorized Question.