I'm trying to create a regex rule to use on Mautic's web.config since none was provided and i couldn't find any working option.
I got an example from a website which lists this option:
^([_0-9a-zA-Z-]+)/([_0-9a-zA-Z-]+)$
Which works fine with 2 blocks URLs like:
http://example.com/s/dashboard
but i also need to work with 3 and 4 blocks URLs like:
http://example.com/s/pages/edit/1?_=1457451067112&mauticUserLastActive=1&mauticLastNotificationId=2
I have managed to create a partial working regex:
(\/[a-z0-9_-]+)
But it won't work on web.config, it gives me a 404, what could be the problem ? As you can see i have a "working" example on RegExr