I have the current url:
ristoranti/location/latvia/riga/other-tag
I need a regexp that do not get the url if has the location
segment
Here what I tried:
ristoranti/(?!location$).*)?(.+?)/(.+?)
Example url I need to get:
ristoranti/latvia/riga/other-tag
I'm not so good with regexp but if I'm right the first segment shoulg get all but location
, am I wrong?