I am struggling to come up with a regular expression which extracts everything with the pattern between "abc_" and "&"
Example 1:
Input string: abc_s=facebook&abc_m=social&abc_c=abcd-video&clicks=jfhjkfdjfdjkfh
Output string: abc_s=facebook&abc_m=social&abc_c=abcd-video
Example 2:
input string: abc_s=facebook&abc_m=social&gmpc_c=abcd-ideo&clicks=jfhjkfdjfdjkfh
output string: abc_s=facebook&abc_m=social&
any ideas on how to achieve this...i looked at the documentation but its not very clear for me as to how to use regexp_substr function to achieve this.