I am trying regular expression in php for url pattern matches url which doesnt start with "/api/v1".
^(?!/api/v1.*$).*
isn't working for me.
I am trying to configure it in symfony security config to match url patter for symfony security firewall
main:
pattern: '^(?!/api/v1.*$).*'