I am trying to do this that strips "['" or "']" in the string. For Example, if we have ['Customer Name'] it should be "Customer Name"
select regexp_replace("['Customers NY']","\\['|\\']","") as customername;
I am getting this error-- SQL compilation error: error line 1 at position 22 invalid identifier "['Customers NY']"