Checkout EasyPattern for Javascript and NodeJs!
During some work on our internal tool, I have created EasyPattern, which is a readable alternative to regular expressions.
It is great to match urls with ease, and keep the code super readable and configurable. For example:
Basic testings
Wildcard matching
You can download and play with it here