title: Exclude regex bash script
body: <p>I want to find the lastlogin on certain usernames.  I want to exclude anything starting with qwer* and root but keep anything with user.name</p>
  
  <p>Here is what I have already, but the last part of the regex doesn't work.  Any help appreciated.</p>
  
  <pre><code>lastlog | egrep '[a-zA-Z]\.[a-zA-Z]|[^qwer*][^root]'
  </code></pre>