I have an existing field that I want to use to create a new field. I want to keep the text after the second occurrence of "-" from the right. This are some values:
existing value | desired output |
---|---|
M-1030-SIS422-1029-XS | M-1030-SIS422 |
JACKSON-0003-28 | JACKSON |
I want to use a regex expression but I don't know which one.