SQL> -- REGEXP_INSTR(String to search, Pattern, [Position, [Occurrence, [Return-option, [Parameters]]]]) SQL> SQL> SELECT REGEXP_REPLACE('This is a test', 't.+t','XYZ') FROM dual; REGEXP_REPLAC ------------- This is a XYZ SQL> SQL>