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

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

Ads

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

The excaped text for use in a regex is:

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


Ads