REGEX-Escape for: SELECT count(*) FROM "employee" WHERE comp_id = ? AND status IN ( ? )

Your Input:
Result, the escaped string:
SELECT count\(\*\) FROM "employee" WHERE comp_id \= \? AND status IN \( \? \)


Ads

What must the escaping look like for:
SELECT count(*) FROM "employee" WHERE comp_id = ? AND status IN ( ? )

The excaped text for use in a regex is:

SELECT count\(\*\) FROM "employee" WHERE comp_id \= \? AND status IN \( \? \)


Ads