title: Test if a string contains only whitespace and non-alphanumeric characters
body: <p>I tried the following solution.</p>
  
  <pre><code>if !(($str =~ ^.*[a-zA-Z0-9].*$)); then
    continue;
  fi
  </code></pre>
  
  <p>It seems there's something wrong with the syntax.</p>