title: Regular Expression for SafeString
body: <p>I am using an inbuilt esapi validator. It is defined as follows:</p>
  
  <pre><code>Validator.SafeString=^[.\\p{Alnum}\\p{Space}]{0,1024}$
  </code></pre>
  
  <p>I am not very familiar with regex and after some reading, I understand that this expression is matching alphanumerics and spaces. </p>
  
  <p>I would like to extend this expression to include *,-()&amp;+ and /. I tried doing the following but it doesnt seem to work</p>
  
  <pre><code>Validator.SafeString=^[.\\p{Alnum}\\p{Space}*,-()&amp;+]{0,1024}$
  </code></pre>