I have a clob text column with more than 500 words in it. I want to extract the word right after that specific word. The position of the original string can vary in the CLOB text
For example:
HEALTH IS VERY IMPORTANT 780037867267
A BOY EATS AN APPLE
GAINS
ENERGY
I want to extract the word right after apple which is GAINS.
How can I write a query to extract the word GAINS ? The position of the word apple is not constant in the dataset.