title: Regular expression to enforce at least one space between values of full name
body: <p>I want to verify that a user provides at least two parts for a full name (first and last names - for example: John Smith)</p>
  
  <p>It has to be a regular expression because I want to use it for both server and client side validation.</p>
  
  <pre><code>public const string NameFull = @"^[a-zA-Z\.\'\-\s]{2,50}$";
  </code></pre>
  
  <p><strong>How can I make it so at least one space will be required and at least two values in each side?</strong></p>
  
  <p>For example (match): "First Last", "Given Middle Family"</p>
  
  <p>For example (not match): "Firstnameonly"</p>
  
  <p><strong>UPDATE</strong>:
  And the winner is:</p>
  
  <pre><code>public const string NameFull = @"^(?!.{52,})[a-zA-Z\.\'\-]{2,50}(?: [a-zA-Z\.\'\-]{2,50})+$";
  </code></pre>