REGEX-Escape for: SELECT * FROM user WHERE username = ?

Your Input:
Result, the escaped string:
SELECT \* FROM user WHERE username \= \?

What must the escaping look like for:
SELECT * FROM user WHERE username = ?

The excaped text for use in a regex is:
SELECT \* FROM user WHERE username \= \?


Ads