I am trying to use regex to match strings that not end with 's, I wrote a regex like this: .*[^('s)$]$, but it seems that this regex also cannot match a string that ends with a single s, like cats or dogs, can somebody help? thx
I am using egrep, I have tried like 
^(?!.*'s$).*
or
.*(?<!ab)$
but it seems these not working well
 
    