I have a column message
which have expression like [ example] or [bla bla]. Basically, I want to remove braces []
as well as all text between the braces.
For example:
input: its a string [text to remove including braces] to replace.
output: its a string to replace
I have tried alot of solutions, but still not working
UPDATE resource SET message = REPLACE(message,'%[%]%','')