title: How to replace everything outside of quote marks? - REGEX Komodo Edit/Notepad++
body: <p>Could somebody tell me the regular expression for replacing everything outside of quote marks with white space? </p>
  
  <p>Example text : </p>
  
  <pre><code>permalink_title='$permalink_title', 
  code_size_3='$code_size_3', 
  code_size_3='$code_size_3', 
  code_size_35='$code_size_35', 
  code_size_4='$code_size_4', 
  code_size_45='$code_size_45', 
  code_size_5='$code_size_5', 
  code_size_55='$code_size_55', 
  code_size_6='$code_size_6', 
  code_size_65='$code_size_65', 
  code_size_7='$code_size_7', 
  code_size_75='$code_size_75', 
  code_size_8='$code_size_8', 
  code_size_85='$code_size_85', 
  code_size_9='$code_size_9',  
  code_size_95='$code_size_95', 
  code_size_10='$code_size_10', 
  code_size_105='$code_size_105', 
  </code></pre>
  
  <p>So the expression would replace everything outside of <code>'$permalink_title'</code> with whitespace. Ideally it would go one better and replace everything with whitespace leaving only the PHP variable - <code>$permalink_title</code></p>
  
  <p>*Note - I was going to perform this function with Komodo Edit or Notepad++</p>
  
  <p>Any help would be great. </p>