Updated: Jun 18, 2018
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:
You can download and play with it here