REGEXP_REPLACE('Oracle www.java2s.com', 'l[[:alpha:]]{4}', 'demo')
SQL>
SQL> -- REGEXP_REPLACE(x, pattern [, replace_string [, start [, occurrence [, match_option]]]])
SQL>
SQL> SELECT REGEXP_REPLACE('Oracle www.java2s.com', 'l[[:alpha:]]{4}', 'demo') AS result FROM dual;
RESULT
---------------------
Oracle www.java2s.com
SQL>
SQL>
Related examples in the same category