$ awk '{ curr=$0; gsub("[0-9]","",curr) } curr != prev { prev=curr; prevfull=$0; flag=0; next } !flag { print prevfull; flag=1 }' test
abbylove2007
abby1994lover
First, remove digits from the current line. If the result of this is different from the previous line with digits removed, then update the previous line with this line, remember the full previous line, and set the `flag` variable to zero, then continue with the next line.
The `flag` variable is used when outputting line that are the same as the previous line to make sure that we only output the _first_ of these lines.
For lines that are the same as the previous line (digits removed), if the flag isn't set, print the full previous line, then set the flag.