I need to replace the square brackets around a key:value pair similar to the following. Any help is much appreciated!
data in 'properties' looks like this:
name: property1
value: [12345667:97764458]
**code**
SELECT p.name, regexp_replace(p.value,'[','') AS value
FROM properties p
Solved: Revised code
SELECT p.name, regexp_replace(p.value,'\\[|\\]','') AS value
FROM properties p;