title: notepad++ regular expression remove all text between curly brackets
body: <pre><code>function get_last_word($sentance){
      $wordArr = explode(' ', $sentance);
      $last_word = trim($wordArr[count($wordArr) - 1]);
      runDebug( __FILE__, __FUNCTION__, __LINE__, "Sentance: $sentance. Last word:$last_word",4);
      return $last_word;
  }
  </code></pre>
  
  <p>i want to remove all text between {}
  result should be:</p>
  
  <pre><code>function get_last_word($sentance){}
  </code></pre>
  
  <p>i have tried</p>
  
  <pre><code>{+.*}
  </code></pre>
  
  <p>and its working only when curly brackets are on same line</p>