added regex feature and dynamic url params