title: Validation of First name and surname
body: <p>i want to check if the value of a variable is not all text for example if the variable is not equal to text then show an error message:</p>
  
  <pre><code>if   ( ($(regname).match(/[^a-z ]/gi)) ) {
                  $('p.validfirstname').fadeIn(300);
  }
  </code></pre>
  
  <p>I'm not sure how to do it so the code above is probably wrong.</p>