Hello Experts,
Below is the logic for regexp_replace from source DB.
Can you please help how to achieve this in Hana Scipt.
regexp_replace(field1,'^[^|]*\|([^|]*).*$','\1') as channel_1,
regexp_replace(field1,'^([^|]*\|){2}([^|]*).*$','\2') as num_channel_1,
sample data format for field1 as below
123123|444|555|6666|77|88
Thanks,
Kris