18. 4. 4. REGEXP_REPLACE(x, pattern [, replace_string [, start [, occurrence [, match_option]]]]) searches x for pattern and replace it with replace_string
The following example replaces the substring that matches the regular expression l[[: alpha:]]{4} with the string sound using REGEXP_REPLACE():
SQL>
SQL> SELECT REGEXP_REPLACE('abcedfghijklumnoprstuvwxyzabcedfghijklumnoprstuvwxyzabcedfghijklumnoprstuvwxyz', 'l[[:alpha:]]{4}', 'sound') AS result
2 FROM dual;
RESULT
------------------------------------------------------------------------------
abcedfghijksoundprstuvwxyzabcedfghijksoundprstuvwxyzabcedfghijksoundprstuvwxyz