title: SonarQube Regex vulnerability issue in JavaScript
body: <p>Wherever I use Regex in JavaScript code, SonarQube shows vulnerability issue. Is there any alternate for Regex in JavaScript?</p>
  <p><strong>Error :</strong> <code>Make sure that using a regular expression is safe here.</code></p>
  <p><strong>Sample Regex :</strong> <code>'(^(?=[A-Za-z0-9\._-]*$)(?=.*[A-Za-z0-9]).*$)'</code></p>