With refference to this question but now in postgress How do i capture the word before the = sign, there is another equal sign in the URL which i do not want to capture
SELECT
TRIM(',' FROM REGEXP_REPLACE('TType=SEND|Status=OK|URL=min://j?_a=3&ver=1.1|day=3',
'=[^|]+($|\|)', ',')) "PARAMS"
From the above string TType=SEND|Status=OK|URL=min://j?_a=3&ver=1.1|day=3
I only want TType,Status,URL,day
Note: The string has a pipe delimiter | for the parameters