Originally posted as a Categorized Question.
In reply to How can I match a multi-line regexp? by Anonymous Monk