I have rows that contain certain data such as:
EUR-40E
CP1-40E
CP1-36E
CP1FP-48E
My question is, how do i remove all characters leaving only the numbers after the hyphen.
I have tried to do it using this:
REGEXP_REPLACE (po.config_id, '\D')
But end up with this output:
140
140
136
It takes all characters but unfortunately the 1 before the hyphen remains?
Thanks