I have this text:
Process explanation:The bottle is then melted to form liquid glass;Final activity for manager:Labeling of previous samples
I just want to get the part after 'Process explanation' but not include 'final activity...'
So like this:
The bottle is then melted to form liquid glass.
This is the current hive query which I want to convert to oracle:
SELECT REGEXP_EXTRACT(
'Process explanation:The bottle is then melted to form liquid glass;Final activity for manager:Labeling of previous samples',
'.*(process[ \t]*(explanation)?[ \t]*:[ \t]*)(.*?)([ \t]*;[ \t]*final[ \t]+activity[ \t]+for[ \t]+manager.*$|$)',
3) as extracted
FROM my_table