I'm trying to build a regex to match multiple characters in order to replace them.
I have a PHP-working pattern which looks like :
/([\{\}\"])*/g
But unfortunately, it doesn't seem to work with Postgres.
Could someone help please ?
Here's the request I'm trying to build :
SELECT
regexp_replace(array_agg(DISTINCT columnName)::TEXT, '/([\{\}\"])*/g', '')
FROM tableName
WHERE ...