title: Match until the next line starts
body: <p>I'm using simple HTML dom to get the source of a web page. Then I'm using dom->innerhtml to get the text. I want to match a line that says <code>var api_response = {...};</code> however I am having trouble with it continuing to go until the end of the document.</p>
  
  <p>My current regex is <code>/var api\_response.+\}\;/</code></p>
  
  <p>Any ideas?</p>