是匹配0次或多次,非贪婪模式。 [0-9]{3,} 是匹配连续3个及以上数字。 代码: withtmp1as(select'abc12'strfromdualunionselect'abc123'strfromdual-- OKunionselect'1234abc333'strfromdual)selectregexp_replace(str,'(.*?)([0-9]{3,})(.*?)','\2.')str_newfromtmp1whereregexp_like(str,'[...