I've installed the Retour plugin and have been able to get most of my redirects working, but have now run into a situation where the old site had multi-level category hierarchy eg: /category/category-slug/sub-category-slug url structure and the new site only has a single level eg: /news/category/category-slug
How can I create a Regex to grab the last segment off the url, if there is more than one level of category, to use for my redirect ?
Looks like if there was only one level then the following would do:
/category/* to /news/category/$1
Any tips or ideas ?