我正在尝试,但我没有达到我的结果。它看起来很简单,不知道我错过了什么。我需要分开单词
EASTHEMISPHERE ==> EAST HEMISPHERE
WESTHALF ==> WEST HALF
EASTERN ==> EASTERN
WESTERN ==> WESTERN
SELECT REGEXP_REPLACE('EASTERN','(EAST)[(^ERN)]','\1 ') FROM dual
==> EAST RN ..this is wrong.I am missing something
BUT
SELECT REGEXP_REPLACE('EASTSIDE','(EAST)[(^ERN)]','\1 ') FROM dual
==> EAST IDE Why is the S missing
或者有没有更好的写法。