REGEXP_REPLACE

SELECT REGEXP_REPLACE('aa  bb    cc              dd','( +){1,}',' ') from dual;

 

 

结果:

 

aa bb cc dd

你可能感兴趣的:(REGEXP_REPLACE)