title: How to convert PHP regex to match Arabic characters to JS regex
body: <p>I have this <strong>English</strong> and <strong>Arabic</strong> <code>regex</code> in php , it works fine with php </p>
  
  <p>But its not working with this library <a href="http://formvalidation.io/validators/regexp/" rel="nofollow">Formvalidation.io</a></p>
  
  <pre><code>~^[a-z0-9٠-٩\-+,()/'\s\p{Arabic}]{1,}$~iu
  </code></pre>
  
  <blockquote>
    <p>I need to make it work and convert into JS regex to use in formvalidation regex.</p>
  </blockquote>
  
  <p><a href="https://regex101.com/r/uS4rC4/1" rel="nofollow">Demo Regex 101</a></p>