title: Allow slash & æ,ø,å in preg_match
body: <p>As the title says, I simply need to allow a normal slash in preg_match. I thought it was something like / or something. But that doesn't work. </p>
  
  <p>I also need to allow european letters: æ,ø,å. How is this done? </p>
  
  <p>Could someone tell me this? :-) </p>
  
  <p><strong>Example</strong></p>
  
  <pre><code>if(preg_match("/^[a-zA-Z -]+$/", $_POST["last_name"]) == 0)
                  {
                      $errMsg = "Dit efternavn må kun indeholde bogstaver, mellemrum og bindestreg.&lt;br&gt;";
                  }
  </code></pre>
  
  <p>And then I'm doing a 
  <code>if(count($errMsg)==0){
   }</code></p>
  
  <p>Thanks in advance. </p>