title: Java RegEX To Split and Reverse String
body: <p>I have a Java String <code>"test/this/string"</code> that I want to reverse to <code>"string/this/test"</code> using a regular expression or the most efficient Java algorithm.  The way I know is to use the split method, loop over the array and rebuild the string manually.  The number of "/" can vary and doesn't occur a fixed number of times.  Any ideas?</p>