title: regex match blank or spaces javascript
body: <p>I'm looking for a regex pattern that matches the following values:</p>
  
  <ul>
  <li>an empty string, or</li>
  <li>a string that contains only spaces.</li>
  </ul>
  
  <p>Thanks</p>