title: How do I select everything except the capture group with Regex?
body: <p><strong>The question:</strong></p>
  
  <p>Forget everything below for a second, since my detail seems to be confusing people (or else this is really complicated).</p>
  
  <p><strong>I want to match, with regex, "everything except what this (any) capture group matches".</strong></p>
  
  <p><strong>What I've tried:</strong></p>
  
  <p><a href="https://stackoverflow.com/questions/611883/regex-how-to-match-everything-except-a-particular-pattern">I saw this question</a>, but the answers and question all talk about one situation without actually explaining how / why the syntax works, so I cant figure it out.</p>
  
  <p>I looked at "negative-look-ahead" with <code>?!</code>, but don't really understand how that achieves what I'm trying to do. </p>
  
  <p>I'm trying to match everything except a capture group, for example <code>("[a-z]*",)</code>.</p>
  
  <p>For example, in this multi-line list:</p>
  
  <pre><code>"buckeye",
  "buckeye"
  ,
  ."
  ,"
  "fbfdb
  "feve,
  </code></pre>
  
  <p>How do I select everything except the capture group (which in my case should match <code>"buckeye",</code> or any set of <code>"</code> + any num a-z chars + <code>",</code>) with Regex?</p>
  
  <hr>
  
  <p>The reason  need this is because I have a file with lots of entries such as:</p>
  
  <pre><code>"aidman",
  "aidmen",
  "aids",
  "aiglet",
  "aiglets",
  "aigret",
  "aigrets",
  "aigrette",
  "aigrettes",
  "aiguille",
  "aiguilles",
  "aikido",
  </code></pre>
  
  <p>and I ran some replacements with my text editor on it to change the format, but a bunch of random things happened to ~20 of the 100,000 lines (a bug). So I need to find the improperly formatted lines.</p>
  
  <p>Clarification:</p>
  
  <p>My goal for this question is simply to understand how to say "I want to match everything except this capture group".</p>