Hi All,
SE 12.1
I've been fighting with REGEXP_SUBSTR REGEXP_REPLACE , INSTR etc for a while.
I need to get the last numeric digits from a string i.e.
NMC2X85732
VBA4LM2345
From this I just want 85732 and 2345.. i.e. the numbers everything back to the first non numeric character.. (X & M in this case)
Everything I find, seems to pull out the 2 in the middle as well
There's no guarantee there will actually be a second numeric nearer to the front, or it will be in the same place. The lengths of the strings are different too.
Appreciate your help
Rgds
Richard