REGEX-Escape for: UPDATE user set nickname=? WHERE username = ?

Your Input:
Result, the escaped string:
UPDATE user set nickname\=\? WHERE username \= \?

What must the escaping look like for:
UPDATE user set nickname=? WHERE username = ?

The excaped text for use in a regex is:
UPDATE user set nickname\=\? WHERE username \= \?


Ads