title: Regular expression for only characters a-z, A-Z
body: <p>I don't know how to create a regular expression in JavaScript or jQuery.</p>
  
  <p>I want to create a regular expression that will check if a string contains only characters between a-z and A-Z with any arrangement.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>When I tried to make regex </p>
  
  <pre><code>/^[a-zA-Z\s]+$/
  </code></pre>
  
  <p>to accept white spaces as well. It is not working. What could be the mistake?</p>
  
  <p>I am testing my regular expression at <em><a href="http://www.regular-expressions.info/javascriptexample.html" rel="noreferrer">JavaScript RegExp Example: Online Regular Expression Tester</a></em>.</p>