I was hoping for this regex
([A-Z]+)$
will select the last event in this example:
AB.012.00.022ABC-1
AB.013.00.022AB-1
AB.014.00.022ABAB-1
But I have no matches. If I remove the '$', I get:
AB and ABC
AB and AB
AB and ABAB
I need only the last case (ABC / AB / ABAB). "AB". should not return the match. How to ignore it? Something like (^ ??.)
source
share