Hi,
I'm trying to remove a directory from all urls that has random names (including letters, numbers and dashes). This is an example, there are 100's of these to change.
example.com/stuff/asdf-123/123456
needs to become
example.com/stuff/123456
The value 'asdf-123' above is different for every page and I need to remove it as a directory. The value 123456 is also different for every page but it needs to stay.
Best effort
^stuff/(.*)/(.*)$ http://www.example.com/stuff/$2 [R=301,L]
which obviously doesn't work. suggestions?