title: PHP regex to allow newline didn't work
body: <p>PHP preg_match to accept new line </p>
  
  <p>I want to pass every post/string through <em>PHP preg_match</em> function. I want to accept all the alpha-numerics and some special characters. Help me edit my syntax to allow newline. As the users fill textarea and press enter. Following syntax does not allow new line.</p>
  
  <p>Please feedback whether following special characters are properly done or not
  <code>*/_:,.?@;-*</code></p>
  
  <pre><code>if (preg_match("/^[0-9a-zA-Z \/_:,.?@;-]+$/", $string)) { 
      echo 'good';
  else {
      echo 'bad';
  }
  </code></pre>