REGEX-Escape for: update retail_transactions set volume=$1 where id=$2

Your Input:
Result, the escaped string:
update retail_transactions set volume\=\$1 where id\=\$2


Ads

What must the escaping look like for:
update retail_transactions set volume=$1 where id=$2

The excaped text for use in a regex is:

update retail_transactions set volume\=\$1 where id\=\$2


Ads