title: Match text/html outside of PHP tags
body: <p>I'm searching for a solution, for this. It's easy to select all the content inside of PHP tags (basically ) but I cant seem to get the opposite to work.</p>
  
  <p>First, I tought this would work:</p>
  
  <pre><code>/\?&gt;(?&lt;html&gt;.*?)&lt;\?|^(.*?)(?=&lt;\?)|(?&lt;=\? &gt;)(.*?)$/
  </code></pre>
  
  <p>(everything between ?> and \&lt;\?, everything between ^ and \&lt;\?, everything between ?> and $)</p>
  
  <p>But here, the problem is that a file that starts with <code>&lt;?php</code>, and doesnt have a single other closing tag, until the end of the file, fails.</p>
  
  <p>At the end of the day, I want to just match everything outside of <code>&lt;? ... ?&gt;</code></p>
  
  <pre><code>THIS,&lt;?php ... ?&gt;
  THIS&lt;?php ... ?&gt;
  AND THIS
  </code></pre>
  
  <p>Does anyone have an idea? Thanks.</p>