title: What regex expression will only allow one to 3 words?
body: <p>I am doing a project in Visual Studio Windows Form with C#. I am attempting to validate the data in a textbox to only allow one, two or three words. Right now my code will allow two or more words, but not just one word. It will also not prevent more than 3 words. Can someone help me?</p>
  
  <pre><code>Regex expression = new Regex(@"[A-Za-z]*[ ]{1}[A-Za-z]*[ ]{1}[A-Za-z]*");
  if (!expression.Match(DescriptionTxtBox.Text).Success)
  {
      MessageBox.Show("The description should be one, two or three words", "Invalid Format for Description", MessageBoxButtons.OK, MessageBoxIcon.Error);
      DescriptionTxtBox.Clear();
      DescriptionTxtBox.Focus();
      return; 
  }
  </code></pre>