Unfortunately I having a few issues now trying to get this going as my data has changed based on an original thread I started see:
Retrieving certain strings within a string using Oracle SQL
My data has now changed to look like:
member_of = CN=DAaXYZApple-Au, CN=DAaXYZApple-Readonly, CN=aXYZApple-Write, CN=DAaXYZApple-Au-Admin, CN=aTest123_RW, {CN=# XXY22,} CN=aInternet-1
Using the same type of techniques described in my original post, I need to obtain all strings that hold the string "aXYZApple" only. So based on the above, the following results is what I am after and would be displayed only:
aXYZApple-Au
aXYZApple-Readonly
aXYZApple-Write
aXYZApple-Au-Admin
I am unsure if I still need to use Oracle regexp_substr as in my original post.