title: Regular expression to validate name in .NET multilingual web application
body: <p>how can i write a regular expression to validate name field in a multilingual web application, i want to validate the name field for non-English languages e.g. Spanish or German, and we need to make sure that no one enter digits or special characters. I'm using .NET 2.0 </p>
  
  <p>I believe we can't use expression as below for non-English language.</p>
  
  <pre><code>^[a-zA-Z]{1,20}$
  </code></pre>
  
  <p>Any help will be highly appreciated!</p>
  
  <p>I got this Regular Expression, it works fien when i uses <a href="http://renschler.net/RegexBuilder/" rel="nofollow noreferrer">Regex Builder</a> but when i try it in actual web application it fails:</p>
  
  <pre><code>^\p{L}[\p{L}\p{Pd}\x27]*\p{L}$
  </code></pre>