Regex for route matching in Express February 9, 2023 by Tarik app.get('/:type(discussion|page)/:id', ...) works