title: Javascript regex - no white space at beginning + allow space in the middle
body: <p>I would like to have a regex which matches the string with NO whitespace(s) at the beginning. But the string containing whitespace(s) in the middle CAN match. So far i have tried below</p>
  
  <pre><code>[^-\s][a-zA-Z0-9-_\\s]+$
  </code></pre>
  
  <p><img src="https://www.debuggex.com/i/yINyI0zcVB8ZnsgC.png" alt="Regular expression visualization"></p>
  
  <p><a href="https://www.debuggex.com/r/yINyI0zcVB8ZnsgC" rel="noreferrer">Debuggex Demo</a></p>
  
  <p>Above is not allowing whitespace(s) at the beginning, but also not allowing in the middle/end of the string. Please help me.</p>