title: Regular expression not matching specific string
body: <p>My use case is as follows: I would like to find all occurrences of something similar to this <code>/name.action</code>, but where the last part is not <code>.action</code> eg:</p>
  
  <ul>
  <li>name.actoin - should match</li>
  <li>name.action - should not match</li>
  <li>nameaction - should not match</li>
  </ul>
  
  <p>I have this:<br>
  <code>/\w+.\w*</code><br>
  to match two words separated by a dot, but I don't know how to add 'and do not match .action'.</p>