How do you match the 2nd directory of the request?

Tthe first directory is totally irrelevant. And So I can't use ^ since that suits the beginning of . How do you tell Apache to begin following the second /? Also I am conscious that / need to be steered clear of like /.

http://www.example.com/directory1/directory2/

This will match directory2 out of your example:

.*\/(.*)\/$