title: How to accept space in regex?
body: <p>I have this regex:</p>
  
  <pre><code>const name_regex = /^[a-zA-Z]+$/;
  </code></pre>
  
  <p>I tested this with the following regex tool</p>
  
  <p><a href="http://www.regextester.com/" rel="noreferrer">link</a></p>
  
  <p>Can you please tell me how to do to accept and space?</p>
  
  <p>Accept eg: <code>John Smith</code></p>
  
  <p>Thanks in advance!</p>