REGEX-Escape for: api/.env

Your Input:
Result, the escaped string:
api\/\.env

What must the escaping look like for:
api/.env

The excaped text for use in a regex is:
api\/\.env