title: How to allow string with letters, numbers, period, hyphen, and underscore?
body: <p>I am trying to make a regular expression, that allow to create string with the small and big letters + numbers - <strong>a-zA-z0-9</strong> and also with the chars: <code>.-_</code></p>
  
  <p>How do I make such a regex?</p>