title: How to allow space in input form
body: <p>I am trying to build site with custom script. I have problem with allowing space in Name input field. If i include space, it will give error but if input slash or underscore, it accepts.</p>
  
  <p>my name  - i am getting not allowed error <br>
  my_name  - i am getting success message.</p>
  
  <p>code</p>
  
  <pre><code>if(!preg_match('/^[0-9a-zA-Z\xe0-\xef\x80-\xbf._-]+$/i',$nickname)) {
  </code></pre>