title: RegEx Search (Notepad++) - Return from character to character without specified characters between
body: <p>Is it possible in RegEx; and if so how, to search from character to character only if specified characters are not included between them.</p>
  
  <p>For instance:</p>
  
  <pre><code>Function
      {
          Parameter Parameter_Name
      }
  
  Function
      {
      }
  </code></pre>
  
  <p>I want to run a search starting with "Function" and ending with "}" where "Parameter" does not appear between the two.</p>
  
  <p>For reference, I am using Notepad++'s RegEx search, and I have ".matches newline" enabled, and have no trouble performing other multiline searches, I'm just not sure of the syntax.</p>
  
  <p>I tried something along the lines of </p>
  
  <pre><code>Function.*!?Parameter.*?\}
  </code></pre>
  
  <p>But this search just caught everything between Function and the last "{" in the file. Meanwhile the below will always stop at the first "}" character.</p>
  
  <pre><code>Function.*?\}
  </code></pre>
  
  <p>What am I missing?</p>