I am trying to extract a value between the brackets from a string. How can I do that.
For eg: I have this string : Gupta, Abha (01792)
And I want to get the resu
We can try using REGEXP_SUBSTR here:
REGEXP_SUBSTR
SELECT REGEXP_SUBSTR('Gupta, Abha (01792)', '\((.+)\)', 1, 1, NULL, 1) FROM dual;