I have a set of strings like this:
span-aud-result-nhd34-124
span-aud-result-jsh43-125
span-aud-result-i843-127
span-aud-result-mj43-126
I want to extract the ending substring after -
For Example like this:
124
125
127
126
The problem is that the substrings like nhd34, jsh43, i843
are dynamic. So how can I extract the ending substring just after -
Thanks.