0

Hi I am using following code to replace '[' only in all instances where it occurs right after a backslash '\':

UPDATE articles SET notes = REPLACE (notes, '\[', '\(')

However, '[' is replaced everywhere even when '\' and '[' don't appear together. What am I missing?

1 Answer 1

3

Need to escape the backslash \\ so use \\[

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.