title: Convert JavaScript Regex to C#
body: <p>How can I convert the following Regex statement into C#?</p>
  
  <pre><code>Match match = Regex.Match(line.Trim(), @"/^[A-Za-z-.]+([,;]\s?[A-Za-z-.]+)*$/", RegexOptions.IgnoreCase);
  if (match.Success)
      //do something
  </code></pre>
  
  <p>The pattern mentioned in the Match method is the one I picked from my javascript method.
  It basically matches names such as <code>Jane,Doe</code> <code>Jane;Doe</code> <code>Jane, Doe; Jack, Doe</code></p>
  
  <p>Please advice.</p>