Good I am trying to replace certain characters of a string belonging to a field in my database. 352-6325632 Serially Replaced (352) -632-5632 when using the regexp_replace function of oracle the second parameter is always equal to the expected output. How could I make the next expression (352) -632-5632
SELECT EMPLEADO.CODIGO Codigo,EMPLEADO.APELLIDO || ',' ||
EMPLEADO.NOMBRE "Nombres",
REGEXP_REPLACE(CLIENTE.TELEFONO, '^\d{3}-\d{7}$','')
"REGEXP_REPLACE",CLIENTE.TELEFONO
FROM EMPLEADO JOIN CLIENTE ON(EMPLEADO.CODIGO =
CLIENTE.CODIGO_REP_VENTAS) WHERE LENGTH(CLIENTE.TELEFONO)=11;