Reputation: 83
For the string abc-1234_56678-123_6y1, I want to only extract the trailing _6yz.
I need the selection to
What am I missing?
Upvotes: 0
Views: 44
Reputation: 83
I was at this problem longer than I'd like to admit, then stumbled on to the answer while doing another query. The final answer for my problem is
_[^-]+([\p{L}].*)
Henry Woody's answer is also good aside from the condition that my selection must contain a letter.
Upvotes: 1