title: Include the hyphen into this regular expression, how?
body: <p>I have this regex:</p>
  <pre><code>  var alphaExp = /^[a-zA-ZåäöÅÄÖ\s]+$/;
  </code></pre>
  <p>This is for a name-field in a form validation.</p>
  <p>I need to make it possible to type names like this &quot;Anna-nicole&quot; (note the hyphen).
  Currently the hyphen causes error.</p>
  <p>I need to remake this regex so that a hyphen can be included in the name; preferably I should make it so that the name also <em>cannot</em> start with a hyphen, or end with one. Only hyphens between &quot;words, or names&quot; should be allowed.</p>
  <p>Does anybody know how to do this?</p>
  <p>BTW, it is JavaScript.</p>