I have a Slug aktuell/blog/cat1/cat2/cat3
and need a Regex to extract all category-segments (all segements after 'aktuell/blog'
) from this Slug.
The count of cataegory-segements may vary from zero to infinity.
I have already tried several ways but it never works as expected... My last attempt was:
^aktuell\\/blog(?:\\/(\w+))*$/g
But this Regex returns just the last segment as match... What can i do to get all categories?
Thank's