REGEX-Escape for: /api-courses/user/{id}

Your Input:
Result, the escaped string:
\/api\-courses\/user\/\{id\}

Ads

What must the escaping look like for:
/api-courses/user/{id}

The excaped text for use in a regex is:

\/api\-courses\/user\/\{id\}


Ads