title: How can I remove a piece of text that spans multiple lines using regular expressions in JavaScript?
body: <p>I have to remove a set of lines that start with a marker and end with another marker.
  I want to find all such pieces of text and remove them using regex. The problem is, regex only matches one line at a time. How should I proceed?</p>