title: Regex to match anything but more than two spaces
body: <p>I'm trying to create two a regex to add quotes to some values in a string. Basically the string would be like this:</p>
  
  <pre><code>999            date               Doe, John E.              London            123456789
  </code></pre>
  
  <p>And I want to surround the name so that if this file is exported to a csv, it won't be separated.  This is what I have so far</p>
  
  <pre><code>$line =~ s/([^\s{2,}]*,[^\s{2,}]*)/"$1"/g;
  </code></pre>
  
  <p>I think it should find any comma and anything near it until it finds two or more spaces but it's not working.  Thanks for the help.</p>