You don't have to subtract the absorbed damage from the "Hits you for X". It's already calculated, so all you have to do is use this regexp:
".+ hits you for (%d+).*" and it will accept both "non-absorb messages" and "absorb" messages".
Please ask if you need any more help
.