title: Regular expression for password validation that doesn't allow spaces
body: <p>I need a regular expression for my Ruby on Rails application for the password field.</p>
  
  <p>Any character or number or symbols is allowed except space.</p>