Please find the below jsonb object where i need to replace all apostrophe from instruction key.
[{
"instruction": "Don't need to book car for M'lore location",
"reservationNo": "TT00098272"
},
{
"instruction": "Please book a car for mumbai location",
"reservationNo": "TT00098273"
}
]
Expected Result : values are replace with apostrophe
[{
"instruction": "Dont need to book car for Mlore location",
"reservationNo": "TT00098272"
},
{
"instruction": "Please book a car for mumbai location",
"reservationNo": "TT00098273"
}
]
replace(jsoncolumn::text,'''','')::json