left(right("ddd/eee/fff/ggg",len("ddd/eee/fff/ggg")-find("/","ddd/eee/fff/ggg"))
,find("/",right("ddd/eee/fff/ggg",len("ddd/eee/fff/ggg")-find("/","ddd/eee/fff/ggg")))-1)
我给你用帆软公式写出来了。
后边的,就看你能不能看懂了。
oracle的样例是
https://blog.csdn.net/u011300808/article/details/70254470
SELECT REGEXP_SUBSTR('奥迪-A5-Coupe Qu-2.0T-7档自动-两门四驱-西拉红-深内饰', '[^-]+', 1, LEVEL, 'i') AS STR
FROM DUAL
CONNECT BY LEVEL <=
LENGTH('奥迪-A5-Coupe Qu-2.0T-7档自动-两门四驱-西拉红-深内饰') - LENGTH(REGEXP_REPLACE('奥迪-A5-Coupe Qu-2.0T-7档自动-两门四驱-西拉红-深内饰', '-', ''))+1;