Just as the title states, I'm not the best w/ regex, so can anyone provide the appropriate regex for the following:
UPDATE table SET column = REGEXP_REPLACE(column, {regex}, '''');
Basically, I'd like to replace any instances of backslashes (\
) followed by one or more single quotes with one single quote.
So, the string Hello World\'s
or Hello World\'''''s
should become Hello World's
, but not Hello World\s
.