I want to be able to take a URL like:
http://www.example.com/valOne/valTwo/valThree/valFour/valFive
and convert it to:
http://www.example.com/index.php?one=valOne&two=valTwo&three=valThree&four=valFour&five=valFive
I really only need a few query parameters for my application so the Regular Expression could have these five hard coded, but it would be nice if it could dynamically create new query parameters as additional 'folders' are added to the URL. Additionally, not all five folders or QPs will always be present, so it must be able handle that appropriately.