Regex for route matching in Express July 20, 2022 by Tarik app.get('/:type(discussion|page)/:id', ...) works