How can I test a regular expression for a piece of text that spans multiple lines?
I  have to remove a set of lines that start with a marker and end with another marker.
now I want to search for all such pieces of text and remove them. The problem is regex only matches one line at a time. How should I proceed ?   
How can I test a regular expression for a piece of text that spans multiple lines?
===

I  have to remove a set of lines that start with a marker and end with another marker.
now I want to search for all such pieces of text and remove them. The problem is regex only matches one line at a time. How should I proceed ?   