so for example I have this data:
rmchat://room/kotak.com/Kotak_Debt_Brokers
I need to just get the "Kotak" from the string and show it in another column. Is there a way to get it? I have been searching online and I cannot seem to find a solution on this. Please help me.
STR, REGEXP_SUBSTR(STR, '(.*?)(\/||$)', 1, 2, NULL, 1)
This is my current code but it's outputting the last String which is Kotak_Debt_Brokers.