I want to extract the second position of a string delimited by - (dash) characters…
case 1
LDR0077-RD2-14W-5-XXX
or case 2
LDR0077-2-14W-6-XXX
the proper result would be
Case 1: RD2
Case 2: 2
I’ve tried to solve using paranthesis and back references but I get an error.
EXPRESSION: -(*)-
REPLACEMENT: $1
REGEX(A3,-(*)-,$1)
get Err:511
any one know how to fix this???