How would you replace a number followed by a question mark again followed by a number.
Input : abc#95988287?3008009095
Desired Result : 95988287
I tried:
SELECT REGEXP_REPLACE('abc#95988287?3008009095', '\?[1,0,2,3,4,5,6,7,8,9]', '')
FROM dual;
and the result was:
abc#95988287008009095
Please advice how to replace this.