I have a title column which contains some words within brackets. I would like to remove the brackets but keep the words which are currently inside them by using regexp_replace. I tried this but it didn't seem to work. There is still brackets in the column.
UPDATE test_table SET title = regexp_replace(title, '()', '', 'g');
You could also use the BTRIM function for this. Example:
BTRIM(title,'[]') as "title"
Cheers!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With