REGEXP_SUBSTR('Yababa dababa do','(ab)\1'), backreference option
SQL> --pattern is matched. If we use the backreference option, the query looks like this:
SQL>
SQL> SELECT REGEXP_SUBSTR('Yababa dababa do','(ab)\1')FROM dual;
REGE
----
abab
SQL>
Related examples in the same category